Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5625240rwb; Tue, 1 Aug 2023 05:49:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlGqR2yVLy7gjgAlLmrBBf1vqwDnlFE8TNu2gtX3BJiGmLD9jqNT7kUGy94cDoMkx2WI8QDg X-Received: by 2002:a05:651c:1046:b0:2b9:412a:1117 with SMTP id x6-20020a05651c104600b002b9412a1117mr2509278ljm.1.1690894148910; Tue, 01 Aug 2023 05:49:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690894148; cv=none; d=google.com; s=arc-20160816; b=UZNQU8LFAe8TQhzUYOFdygci4ds6v3dpuK4qh0TEkySQAJluNii8YIjkmn6blPRwrK zM6GhSxRfSjDLMHs+LTPUGgqkTGeoRNiZ06M0DsypGmsHdZYVRGArdp6eRY4By6bRH/p 7GbFbD/vA71M2UsV2oi319QoTgfaZe39gp6I30B+SYTVhP0UebkPozLRFIllHq6V8v1u HcLRM+wnMWTvSInhBE9Geyv1Nfx6T8yrIzIkW6JUg1VDZrTjfdYX0cRzbdVGeAKd/p/M 81lF1A7E7LFejDeNh4PuSz1QGqaI+1M/1XjPB/NTE1jj5EXvJQ2MVf4xAjhEAkyCZj/9 BU/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:mime-version:references:subject:cc:to:from :dkim-signature:dkim-signature:message-id; bh=b1myCBgZLHok+K09N26MfWzhxCP4cilngo+YbfwnshU=; fh=mE3iieUIZLcDfOLIULj9X6/p0bMDPZGFSVRsnyRUnTc=; b=osZUrCEeXNcO+YNq/jnyVy6BcklVc1fcqlIRIpuATEXeR3new2QdDkC7ll0YD8UnCw 1DTTs7LurDSGYjwRF4cGhJhulXX6dh8GLCodrJwRdECOPoDKaBACf8mO6zd41Stxmea6 /QcFQP7J9yqFnyWtlg8ASoJpFAsAQCrGV9cjr57KFmfXZqzIVZy24Z/6wcS2QpPHyADZ GJHwliUjZYfbasC6Ay9nCqqxfqYedaeqGR7Xlz7U+p8cx/qkZUzLDzacSqxgTHuNkvSK tL1GcXE+nGQCjsRR38IzcQer9OAIWycQHb/xDfhZbKI6k+LI/LC3QCkN7g6RYMc58qz1 LaCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3EKtAsaV; dkim=neutral (no key) header.i=@linutronix.de; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j16-20020a170906831000b0099bbff8672fsi8020249ejx.696.2023.08.01.05.48.43; Tue, 01 Aug 2023 05:49:08 -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=3EKtAsaV; dkim=neutral (no key) header.i=@linutronix.de; 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 S232905AbjHAKqr (ORCPT + 99 others); Tue, 1 Aug 2023 06:46:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231462AbjHAKqp (ORCPT ); Tue, 1 Aug 2023 06:46:45 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 455DAF1 for ; Tue, 1 Aug 2023 03:46:44 -0700 (PDT) Message-ID: <20230801103815.207107339@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1690886802; 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=3EKtAsaVLbSQ76mjgNoPZaN8a0q+gpf2LxDkyy04g4PJ9G4irT3JrD++brfcdfLo0clkCL MBF5nBUdLdY9uZLnJgoSVcSQA3AQnYjrXgCkwDYm9AkwfcxgWMMzHExeTXirQ+98RkahWV h1vzs/Hon5HOQFr6EJsaibwqg+yXhOrt1u9N6lCXRwDsmecSdxWS2c/6P9QjqC5Fl9pljY q9R9nvl+EZtoK9LPizB55znZF6Vat8YSntUeqS+FJrZmFopwBRwGpgFQXB6IF3Oxt+bEyN kp0/ITUptkMAWdHwzpvTuDLI4c4hxN2V0mBZ/75SvLVNSB/C2GJfdAss/ynS7w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1690886802; 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=za6iITAafiEVp9sEOLVT4gyhWQGbxcplqujeeSs7jZCSkhpf52074QL+QC1mnYEs4IRo6/ 6yf+VwgXS47zlmCA== 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 V3 01/60] x86/cpu: Make identify_boot_cpu() static References: <20230801103042.936020332@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Tue, 1 Aug 2023 12:46:42 +0200 (CEST) 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 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 } 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 -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))