From nobody Fri Dec 19 07:47:18 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 9996CC0015E for ; Mon, 24 Jul 2023 13:33:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229968AbjGXNdw (ORCPT ); Mon, 24 Jul 2023 09:33:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjGXNdu (ORCPT ); Mon, 24 Jul 2023 09:33:50 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BADAA1B3 for ; Mon, 24 Jul 2023 06:33:48 -0700 (PDT) Message-ID: <20230724132044.644384974@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1690205626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=b1myCBgZLHok+K09N26MfWzhxCP4cilngo+YbfwnshU=; b=sbgH5INmkXJN1scV1wuwa2IDrW+L3YWqwDablFeq9IOSSAKhoKXvqU6oB/hYlAnfh1cOEn yVQBvjadZkgW5Kz1AGfrFCd7+U9gPZ0k25xwOto3q0f5utuAHAOqtah8BMpb/seyCzsrQv qTa0n6N/G24aUETPhz+eO5iTUMwpDXLIpqEMZSEdrquupWtRUhdatxEwHoJDndZ2Llbj20 odNXn+nA41FbhntQI96pN+HjxQavwPQGZy6vG6LwN+LODn++yTa0R69VFeu+8PPfL8tAPN bmRlwkVHAwIWlpFUJKIvHwZMdbHYLpbhoVWERETwlMyD4qkXq+imWy4W+1Dvfw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1690205626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=b1myCBgZLHok+K09N26MfWzhxCP4cilngo+YbfwnshU=; b=UUbRnNLZ28GzPTcU3O4ZzUOV9Xtzul1DA5Q0Kp9VtM+ScXCh4WuH9TPo5TujJSfEwoUNTG WPnrSYZaYJDE8xBw== From: Thomas Gleixner To: LKML Cc: x86@kernel.org, Andrew Cooper , Tom Lendacky , Paolo Bonzini , Wei Liu , Arjan van de Ven , Juergen Gross , Michael Kelley , Peter Keresztes Schmidt , "Peter Zijlstra (Intel)" Subject: [patch V2 01/58] x86/cpu: Make identify_boot_cpu() static References: <20230724131206.500814398@linutronix.de> MIME-Version: 1.0 Date: Mon, 24 Jul 2023 15:33:46 +0200 (CEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" It's not longer used outside the source file. Signed-off-by: Thomas Gleixner Acked-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/processor.h | 1 - arch/x86/kernel/cpu/common.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -190,7 +190,6 @@ static inline unsigned long long l1tf_pf } =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 *); --- 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))