From nobody Fri Sep 12 03:03:14 2025 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 38F0DC001DE for ; Wed, 9 Aug 2023 19:14:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbjHITOG (ORCPT ); Wed, 9 Aug 2023 15:14:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233251AbjHITNf (ORCPT ); Wed, 9 Aug 2023 15:13:35 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5210C30C4; Wed, 9 Aug 2023 12:12:49 -0700 (PDT) Date: Wed, 09 Aug 2023 19:12:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1691608350; 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; bh=1cUqiEDAgeCw92CMVlQ/zNT4kJTvWs/WU4VOY5Qybpg=; b=YfatK3kKRrpGsliGr1a9CJ4ei8G6b2MMHSjdNklPImzqyUud2y16Qv4qqYWvXV+PwU1HUZ ZqC///RlFqE8eXM9C3TNylV8MjqsWcd+Xm0vxCa+PGc+xItcQg4T7AWQiID70kH5/uDMae 2eJQKV+IFCeBEENVDlXR/FHh8Rx9a0GhPDLO1/zr5ovA9nzepEzOSCE0QioAn8pl0TrLBQ 4N+uIrXZQ191jIuiQHiV0OtEp9pMY5wuvpEKBvJWQOQqzdGYOk3Z+lohSAVoP5qJpZcZ/C kxSxJhgxGRBFxU9z8Vj4RkpjHEVymfKz87eq1X4w4rRhsPVHAE1UQC0wqbNFcA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1691608350; 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; bh=1cUqiEDAgeCw92CMVlQ/zNT4kJTvWs/WU4VOY5Qybpg=; b=DAz4BsgPCESSlx0Vrl1e8HKmQ9FDUCzweBxW5qv82sJSh0r36DaweQvlAClUh2EhSHbsA0 OvNtXgY8ObOasiBA== 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/apic] x86/cpu: Make identify_boot_cpu() static Cc: Thomas Gleixner , Dave Hansen , "Peter Zijlstra (Intel)" , Michael Kelley , Sohil Mehta , Juergen Gross , x86@kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Message-ID: <169160835036.27769.1119660617648651890.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/apic branch of tip: Commit-ID: 3ba3fdfe2c3f28b9976f0c07eb7736080cb7d4a9 Gitweb: https://git.kernel.org/tip/3ba3fdfe2c3f28b9976f0c07eb7736080= cb7d4a9 Author: Thomas Gleixner AuthorDate: Tue, 08 Aug 2023 15:03:39 -07:00 Committer: Dave Hansen CommitterDate: Wed, 09 Aug 2023 11:58:15 -07:00 x86/cpu: Make identify_boot_cpu() static It's not longer used outside the source file. Signed-off-by: Thomas Gleixner Signed-off-by: Dave Hansen Acked-by: Peter Zijlstra (Intel) Tested-by: Michael Kelley Tested-by: Sohil Mehta Tested-by: Juergen Gross # Xen PV (dom0 and unpriv. guest) --- arch/x86/include/asm/processor.h | 1 - arch/x86/kernel/cpu/common.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/proces= sor.h index d46300e..923ca0a 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -190,7 +190,6 @@ static inline unsigned long long l1tf_pfn_limit(void) } =20 extern void early_cpu_init(void); -extern void identify_boot_cpu(void); extern void identify_secondary_cpu(struct cpuinfo_x86 *); extern void print_cpu_info(struct cpuinfo_x86 *); void print_cpu_msr(struct cpuinfo_x86 *); diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index 0ba1067..b156187 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -1937,7 +1937,7 @@ void enable_sep_cpu(void) } #endif =20 -void __init identify_boot_cpu(void) +static __init void identify_boot_cpu(void) { identify_cpu(&boot_cpu_data); if (HAS_KERNEL_IBT && cpu_feature_enabled(X86_FEATURE_IBT))