Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 886BEC433F5 for ; Fri, 3 Dec 2021 16:24:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352905AbhLCQ17 (ORCPT ); Fri, 3 Dec 2021 11:27:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235455AbhLCQ15 (ORCPT ); Fri, 3 Dec 2021 11:27:57 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D4A9C061751 for ; Fri, 3 Dec 2021 08:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=yxCeT5L2so0oF7Ya8/mfoSuB7Zz70/VlOA+sRUIel9E=; b=GcmFpX+vqxCz9FoYqjIYVeVAgT U8ZWQ99at6CzkVBZZpkNMpBZSswCrCfadF6o5Nbh4ZLBpdXZIf63ewf8F0gKqtU2MkAYYBLBGxoDF tmcZmU6jLZrANB8oUjFl20hUEIgBJV6XsJ0agi46AaAB4jGuYCe0CSGvoC5cnyIzQs/1DyCRixPc1 dFBX/L0wv5g6R6zAvWCKahu0X4C1L+gCFVCiVSaXQ5PnvfAtkmdK62+M37k10ZrMEsx+cnbhkMWMg GrhcCCWbL0bVapyjn4z8cO7CpYGmbfUt4BPVlFgMlFRmO+oh2Uf+YD70fO1vcs/Doy6hxInK06boC lPO3JUdA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:56034) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mtBLv-00022h-GM; Fri, 03 Dec 2021 16:24:03 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mtBLr-0001Zz-JM; Fri, 03 Dec 2021 16:23:59 +0000 Date: Fri, 3 Dec 2021 16:23:59 +0000 From: "Russell King (Oracle)" To: Jisheng Zhang Cc: Catalin Marinas , Paul Walmsley , Will Deacon , Palmer Dabbelt , Albert Ou , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, hpa@zytor.com, Eric Biederman , Alexandre Ghiti , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, kexec@lists.infradead.org Subject: Re: [RFC PATCH 5/5] arm: use IS_ENABLED(CONFIG_KEXEC_CORE) instead of #ifdef Message-ID: References: <20211203051157.2160-1-jszhang@kernel.org> <20211203051157.2160-6-jszhang@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211203051157.2160-6-jszhang@kernel.org> Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 03, 2021 at 01:11:57PM +0800, Jisheng Zhang wrote: > Replace the conditional compilation using "#ifdef CONFIG_KEXEC_CORE" > by a check for "IS_ENABLED(CONFIG_BLK_DEV_INITRD)", to simplify the > code and increase compile coverage. > > Signed-off-by: Jisheng Zhang Reviewed-by: Russell King (Oracle) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!