From patchwork Fri Jun 16 09:24:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 108976 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1197094vqr; Fri, 16 Jun 2023 02:30:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5X2RPev1zeUZzzgre5Z8dmIe7HW7DXMINYRNc5gsRm4pk6CaN9VuHKBbTLNCIpHUQB7Vft X-Received: by 2002:a05:6a20:1606:b0:110:390f:6806 with SMTP id l6-20020a056a20160600b00110390f6806mr1702425pzj.57.1686907804034; Fri, 16 Jun 2023 02:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686907804; cv=none; d=google.com; s=arc-20160816; b=yx42j9UEVnTsIbbKiTbtwYwJrspWS4nTmfY0oPj99agaNKxOlkgqgPMSWoc12e3bTh 6Z7E1t3u9COQi1wDkzuqsSA/MVSMCABG3N/vGR910B61F+0MlviEm0LTOYnW359UgxYO UTx8w1cvYzjRnkCDUdgwMSErXG0uPmVCsW2bEmFkMEnZpnx8mqkQ7ck8hp1sTPzfyPVY cj0RSgoe9Y/BRphHZgKBx7pyCAfUgnrSy1uOvwINEb4ciXd5ylyDFcJ+0QCuRi+ciOMj /SOo9AuU1/RzkF/wG2IyK46j9MWsf7nVvNTZJtbBS0+iwfZ0pQOKvCQhycl/4mPiTBWE wG0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=hFSswFXiuu0vGfs6BkcKLUDC8xMz27HYjzqc9iSnG6U=; b=urcHuux1+zoBBuqtaCi/TZIML3LTyufQ7rNzN7raQ2hvsFFdCkTTAi3JuJTtxyP0cY CNZwmZFTPp7dWsyFCpgdFVakbmDo9/uvX6WOrG5Xrk4hD0Jn6WLeXvYRyFFZywpexpW7 fIy8IX4BLISQD8A6QO0znuHIUtIiOS88RBfP7VIKtJiQTysdpN9YYVG/v0qX8bkniS0T /KZ9QLUzWbQuZH0Iu/Q75L67DbEym17Jt1mjBjjnvHJKeuogHMrJOvVjxCS3hzgL8Ge9 2D0BRcHNfGLzl/hLj50i2nREbSnYBD1aSxOzwC7GYLFCDgCc6K3Aq+WgCWIxyWudORHg 1sdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OcLJIX6f; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a170902dac100b001ab2a0e3163si869991plx.598.2023.06.16.02.29.49; Fri, 16 Jun 2023 02:30:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=OcLJIX6f; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344243AbjFPJZZ (ORCPT + 99 others); Fri, 16 Jun 2023 05:25:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343992AbjFPJYt (ORCPT ); Fri, 16 Jun 2023 05:24:49 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3FE02721; Fri, 16 Jun 2023 02:24:43 -0700 (PDT) Date: Fri, 16 Jun 2023 09:24:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1686907482; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hFSswFXiuu0vGfs6BkcKLUDC8xMz27HYjzqc9iSnG6U=; b=OcLJIX6f4lV5GbH6kAswqnI2Xy0yfaL3EVy2C2vufRKaHWvGb1EVxSOGW079v9JptAmwEu e8rAuCV7wFcdM4xznfeMN0dIhbyH9W4UkyGZNyLjXWVDMaC4BhZ1WsxE/qlYEr8xxUZUpj ivjYG1ci+e73BUrv7kjl1dpgSUg/vFrTAIT4F7qKs92VU6gibvr3Qz07iFZGax9+pMl9xP eQ4r3Ml6m9RUPx5izNA3VGCVrndvvfYKA9ZSgJOHeKfGGvMqxtff7dQ741SiynhOthdirv 4ZnS1MlnN//+BwNIrIP+KCNiT6QfLkPZnRvsBvXGh5GgXSPdwZOLjj/0lk57fg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1686907482; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hFSswFXiuu0vGfs6BkcKLUDC8xMz27HYjzqc9iSnG6U=; b=jhN839nR80oGsiGUPUBM+8VLcaU4mDRG9FFjMH6qOY7gfjcBYkBAwyjaSVOjZeshcl3FeH enSO41i3mFX5IsCA== From: "tip-bot2 for Thomas Gleixner" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/boot] x86/fpu: Mark init functions __init Cc: Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230613224545.841685728@linutronix.de> References: <20230613224545.841685728@linutronix.de> MIME-Version: 1.0 Message-ID: <168690748184.404.1323317801212302376.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768632889945902055?= X-GMAIL-MSGID: =?utf-8?q?1768851037213318581?= The following commit has been merged into the x86/boot branch of tip: Commit-ID: 1703db2b90c91b2eb2d699519fc505fe431dde0e Gitweb: https://git.kernel.org/tip/1703db2b90c91b2eb2d699519fc505fe431dde0e Author: Thomas Gleixner AuthorDate: Wed, 14 Jun 2023 01:39:45 +02:00 Committer: Thomas Gleixner CommitterDate: Fri, 16 Jun 2023 10:16:01 +02:00 x86/fpu: Mark init functions __init No point in keeping them around. Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20230613224545.841685728@linutronix.de --- arch/x86/kernel/fpu/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/fpu/init.c b/arch/x86/kernel/fpu/init.c index 5001df9..998a08f 100644 --- a/arch/x86/kernel/fpu/init.c +++ b/arch/x86/kernel/fpu/init.c @@ -53,7 +53,7 @@ void fpu__init_cpu(void) fpu__init_cpu_xstate(); } -static bool fpu__probe_without_cpuid(void) +static bool __init fpu__probe_without_cpuid(void) { unsigned long cr0; u16 fsw, fcw; @@ -71,7 +71,7 @@ static bool fpu__probe_without_cpuid(void) return fsw == 0 && (fcw & 0x103f) == 0x003f; } -static void fpu__init_system_early_generic(void) +static void __init fpu__init_system_early_generic(void) { if (!boot_cpu_has(X86_FEATURE_CPUID) && !test_bit(X86_FEATURE_FPU, (unsigned long *)cpu_caps_cleared)) {