From patchwork Sat Jan 29 21:40:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12729644 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FC2CC433EF for ; Sat, 29 Jan 2022 21:41:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A83306B0078; Sat, 29 Jan 2022 16:41:01 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A2E4B6B007B; Sat, 29 Jan 2022 16:41:01 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 91DDE6B007D; Sat, 29 Jan 2022 16:41:01 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0150.hostedemail.com [216.40.44.150]) by kanga.kvack.org (Postfix) with ESMTP id 854306B0078 for ; Sat, 29 Jan 2022 16:41:01 -0500 (EST) Received: from smtpin05.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 379FB181951FC for ; Sat, 29 Jan 2022 21:41:01 +0000 (UTC) X-FDA: 79084645122.05.EE47AB7 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf06.hostedemail.com (Postfix) with ESMTP id C57AC180007 for ; Sat, 29 Jan 2022 21:41:00 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E328960C26; Sat, 29 Jan 2022 21:40:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03C86C340E5; Sat, 29 Jan 2022 21:40:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1643492459; bh=yKOct+8Ojy/7tytrO0JByvyDyQiOpz7cWY5kCH+UMu0=; h=Date:From:To:Subject:In-Reply-To:From; b=nVs29egsJuvBByuXA9pzLGllN1aUZnPZD+zELCc5pUZq9LnFPBha2HK2CrT7Rq7Ra OQRMwd+PHiXrjTk2vQR7C7eRJ0oOnHW5+qLnZl8pvwbapQgRXwdPJIi7C6JKA09Wou f4cfCwmEmFXrakDUqHcFLWbS17Oqo2NzKw0CPZ2E= Date: Sat, 29 Jan 2022 13:40:58 -0800 From: Andrew Morton To: akpm@linux-foundation.org, ebiederm@xmission.com, hch@infradead.org, hch@lst.de, linux-mm@kvack.org, mm-commits@vger.kernel.org, rdunlap@infradead.org, tony.luck@intel.com, torvalds@linux-foundation.org Subject: [patch 03/12] ia64: make IA64_MCA_RECOVERY bool instead of tristate Message-ID: <20220129214058.P5EZlNOCT%akpm@linux-foundation.org> In-Reply-To: <20220129134026.8ccf701012f26eb2c2c269c9@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: C57AC180007 X-Stat-Signature: e7wjg6oxwtct4ciqfofty1p9czzq63rk Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=nVs29egs; dmarc=none; spf=pass (imf06.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspam-User: nil X-HE-Tag: 1643492460-579343 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Randy Dunlap Subject: ia64: make IA64_MCA_RECOVERY bool instead of tristate In linux-next, IA64_MCA_RECOVERY uses the (new) function make_task_dead(), which is not exported for use by modules. Instead of exporting it for one user, convert IA64_MCA_RECOVERY to be a bool Kconfig symbol. In a config file from "kernel test robot " for a different problem, this linker error was exposed when CONFIG_IA64_MCA_RECOVERY=m. Fixes this build error: ERROR: modpost: "make_task_dead" [arch/ia64/kernel/mca_recovery.ko] undefined! Link: https://lkml.kernel.org/r/20220124213129.29306-1-rdunlap@infradead.org Fixes: 0e25498f8cd4 ("exit: Add and use make_task_dead.") Signed-off-by: Randy Dunlap Suggested-by: Christoph Hellwig Reviewed-by: Christoph Hellwig Reviewed-by: "Eric W. Biederman" Cc: Tony Luck Signed-off-by: Andrew Morton --- arch/ia64/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/ia64/Kconfig~ia64-make-ia64_mca_recovery-bool-instead-of-tristate +++ a/arch/ia64/Kconfig @@ -318,7 +318,7 @@ config ARCH_PROC_KCORE_TEXT depends on PROC_KCORE config IA64_MCA_RECOVERY - tristate "MCA recovery from errors other than TLB." + bool "MCA recovery from errors other than TLB." config IA64_PALINFO tristate "/proc/pal support"