From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A49E0C433EF for ; Fri, 3 Dec 2021 16:25:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ncg7221NVKljtvNG/piFSmMEs9uZsTjeNAJNzqn+1KA=; b=2mtPJajW+klhcT owDDAp23+kqzoXMuYTMlXuGBj1gaXS5OJ/tXQ1l678CkSBUp/JCzrktYoQQrwnKUJ02PfYkZgIURj JZjn/xlvW27Sq220xGEGiWgWN71rl5nM+FLi3hERbuTnlCQibyxheHiOZG3U0AmGp74nX4E3QzCA7 p5/TZ35AlARI8BHdL7R0sSxNXVNh1gapPapAsgypdKCRSu3A99nmCQuYEJHmDb9xfm817RR+ytXSO sDK5EqnI4Yfiddjp/T/mj8LeRznqp2vbTbqxyGR6XdHpQ/4ScCM8jjDSnycTwlDLZfkuihN9B0Q7d KAJ6mOh8D0htEC2FwC2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mtBMV-00GVb7-58; Fri, 03 Dec 2021 16:24:39 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mtBMQ-00GVYS-VP; Fri, 03 Dec 2021 16:24:36 +0000 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-Disposition: inline In-Reply-To: <20211203051157.2160-6-jszhang@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211203_082435_036927_56EDBB8B X-CRM114-Status: UNSURE ( 8.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel