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 6AEC5D690EC for ; Thu, 28 Nov 2024 08:32:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AknM95+z+jjZp0vJz8AkHqSNRBV+Y5hjqLXKIcicOsI=; b=DH+iMSFb2aSLTQufiKGeZyevNN uYr+eGcGI4Xc/puqvv8SkNJZM8KLEXGMI3/jbAhP29Hd/qlwyT36m2Q1liRKmWTUSXfwSpyit9lth hNbRaJtomOHC8RD1GnqA8KbJHum3VB5ij0/wqUxPqDlGFijGoEv1waw31TGbiEDBNiPjfJNzbj2Vk TqidcMU5oYJFRb7kTe8MWWdv6CI4IYXj9xmQF9Xv7HihisAKze6n7q0dP09tOqnwfs96yt1Fx9Ulr nxINIY90h5mqGkTNFldNrVwkIdwFdOWtheIhm33QkQA60JUtMowQ2/jd4E9ao+f3k5NW50ssj5g2u TNwqepEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZxE-0000000F0tC-08JM; Thu, 28 Nov 2024 08:32:52 +0000 Received: from out0-205.mail.aliyun.com ([140.205.0.205]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwE-0000000F0jO-0tel for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:31:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782707; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=AknM95+z+jjZp0vJz8AkHqSNRBV+Y5hjqLXKIcicOsI=; b=kZ8MO9nL4utTEDngrGgwRh/6SQLpwUOFzL8Nzaeat1sU0AbeU/+C9D8pY/ZgOBcmPXon6Leua/OS2ln1GfvBjVtWaH3m94dpcJOLC5zHPzwjezzcuNPT6tMShByKV42PLdYz+K5GTxL3CIwzcVHtJT37edraCUan66XTWvaIoAk= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WTQ_1732782705 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:46 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 1/9] um: Mark parse_host_cpu_flags as __init Date: Thu, 28 Nov 2024 16:31:29 +0800 Message-Id: <20241128083137.2219830-2-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_003150_439517_CF088748 X-CRM114-Status: UNSURE ( 7.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org It's only invoked during boot from get_host_cpu_features(). Signed-off-by: Tiwei Bie --- arch/um/kernel/um_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 62ddb865eb91..c5e91d3fb64e 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -264,7 +264,7 @@ EXPORT_SYMBOL(end_iomem); #define MIN_VMALLOC (32 * 1024 * 1024) -static void parse_host_cpu_flags(char *line) +static void __init parse_host_cpu_flags(char *line) { int i; for (i = 0; i < 32*NCAPINTS; i++) { -- 2.34.1