Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp466340pxb; Wed, 25 Aug 2021 07:24:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSIMKO4WErUsZPxzAroZWAcGS4QakUTU9Z2B+YxmU+b/lL89S0WQNb9dIiNanyATfsn+JF X-Received: by 2002:a02:ab87:: with SMTP id t7mr4804318jan.127.1629901463823; Wed, 25 Aug 2021 07:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629901463; cv=none; d=google.com; s=arc-20160816; b=aQcb0Uaz/MS79c4F67THhDdpzpFnwmeqZqnac/I/YvcuU8SwUOpUs7s+a04Z7zXNDS UtaYBn385/Vg8lidQEe8NSAsloe1Oy0HNXQ/DCUdV4+aM+7AEMxyjApUSFgVudgEsDJ7 G7trWaNqON/vb/+KU0UbxHr5PbxO7Hr4S2jCdUK4DwEzfwoPMYxlMIxqewEb26hGGvbe T4WqyvJWBjA5IhF5nCxHphPJ4QNanqh2NmBxgU5nqSBA82VWKj1WTnCF7GaKIBIxcNvO 6PEEbs/WuzCAwVc+x7PwMa9XsDj5uFbrPPJDQUSCzlisuRxL4CHvFhsKT686lVcbDfdf OXig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=M5yRpJCJPEfUJB4kxENoaLwsVqBbw5QqvSAjnzw/LF4=; b=iiob8P0vz+3lhJxViml1W3/06Sj3ff3hEDaQuMpzjwJ1waZicCaROPxawUuVM1Qexw ihFMfjvSGzgYh3689p50pvIP+y+vvTeJ3UYS2hXsuoo2qNJUHToic3XqGTTgL6CzoHAE +X1eRHe3ReoqRq1hBSpw+oT05g9VFmVSJ3oHsyOXI/hnvuBX2iwoZ6ZM5x1QG/jLwO8i ZOGTbmdNTDJRkdvDKy31yb2tmjHV5WWwC4F662kbrLJbwxpr5nLlYusXEs5VH3gIzlNT gYhKVeK5oPmSznxRjDJZMWmqVZNFXeD0poNzeJrjoDK75I8ElESQAYRp06WO/AziUgqc JNjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d3si4205374jak.6.2021.08.25.07.24.12; Wed, 25 Aug 2021 07:24:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240327AbhHYLtd (ORCPT + 99 others); Wed, 25 Aug 2021 07:49:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240167AbhHYLtW (ORCPT ); Wed, 25 Aug 2021 07:49:22 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6500FC0617A8 for ; Wed, 25 Aug 2021 04:48:36 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:91f7:1ea1:147b:586f]) by albert.telenet-ops.be with bizsmtp id lnoX2500234CCxU06noXv4; Wed, 25 Aug 2021 13:48:33 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1mIrOQ-005kYR-RZ; Wed, 25 Aug 2021 13:48:30 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1mIrOQ-00DDKF-6M; Wed, 25 Aug 2021 13:48:30 +0200 From: Geert Uytterhoeven To: Andrew Morton , Simon Horman , Tony Luck , Jay Lan , Magnus Damm , Mike Rapoport Cc: Rob Herring , Frank Rowand , linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/3] ia64: Fix #endif comment for reserve_elfcorehdr() Date: Wed, 25 Aug 2021 13:48:27 +0200 Message-Id: <77b4c0648f200cab7e1c2c5171c06763e09362aa.1629884459.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The definition of reserve_elfcorehdr() depends on CONFIG_CRASH_DUMP, not CONFIG_PROC_VMCORE. Fixes: d9a9855d0b06ca6d ("always reserve elfcore header memory in crash kernel") Fixes: 17c1f07ed70afa4f ("[IA64] Reserve elfcorehdr memory in CONFIG_CRASH_DUMP") Signed-off-by: Geert Uytterhoeven --- arch/ia64/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index dd595fbd800651fe..fbd931f1eb270d98 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c @@ -546,7 +546,7 @@ int __init reserve_elfcorehdr(u64 *start, u64 *end) return 0; } -#endif /* CONFIG_PROC_VMCORE */ +#endif /* CONFIG_CRASH_DUMP */ void __init setup_arch (char **cmdline_p) -- 2.25.1