From nobody Sun Feb 8 14:07:29 2026 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 A09A3C001DE for ; Fri, 28 Jul 2023 08:23:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233599AbjG1IX3 (ORCPT ); Fri, 28 Jul 2023 04:23:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234935AbjG1IW2 (ORCPT ); Fri, 28 Jul 2023 04:22:28 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D64F41FF2; Fri, 28 Jul 2023 01:21:22 -0700 (PDT) Date: Fri, 28 Jul 2023 08:21:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1690532481; 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=LMfd0HelnlVjNH3W4Qx7FiKgivaaAG98nFZrasSoh3k=; b=vGW8b2dEOtvSfOI9UVMDi8XG7jCGBKutFCDW+bAgRsDeAUDKTfcp0bS51qrLcSlhB9cda4 IL+GF9mJQQ+cMAbUgfYxkJowiIj/20F/4EsaBs3A0vZetpqw6skMAYC0hUVF4sokr7bumx kCdYLYksm3oORVIjJW7zc8lz+6HsS56SUF1jzIEZBNHzuOd0MV04dqLO/yBd1tUfhsZbeV S/qBF5iFyQaH7VVXML8FB7c7JYHjADwru+EuvPATyuu2zFE0tiuzG4v7GSc1ZJpyLc8CD2 zqX3AEHnhXmTXqqJc8KWMvtJ2eFjGKf7FeT8pSCezHm7FHakDaZKmXdKQBqJ9Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1690532481; 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=LMfd0HelnlVjNH3W4Qx7FiKgivaaAG98nFZrasSoh3k=; b=/71fy/Q5QFqSXJqoFPYLv1J7i9VSGzLty/4et+VaFMGOD7rIm6rkkvI+lJKPe2iB3K8ExA xY3kpHpGNArJVdBw== From: "tip-bot2 for Sohil Mehta" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/core] x86/smpboot: Change smp_store_boot_cpu_info() to static Cc: Sohil Mehta , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230727180533.3119660-4-sohil.mehta@intel.com> References: <20230727180533.3119660-4-sohil.mehta@intel.com> MIME-Version: 1.0 Message-ID: <169053248069.28540.9487948211210505000.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/core branch of tip: Commit-ID: d7114f83ee051dfeac82546d7ba03d74f8b92af3 Gitweb: https://git.kernel.org/tip/d7114f83ee051dfeac82546d7ba03d74f= 8b92af3 Author: Sohil Mehta AuthorDate: Thu, 27 Jul 2023 18:05:33=20 Committer: Thomas Gleixner CommitterDate: Fri, 28 Jul 2023 10:17:53 +02:00 x86/smpboot: Change smp_store_boot_cpu_info() to static The function is only used locally. Convert it to a static one. Signed-off-by: Sohil Mehta Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20230727180533.3119660-4-sohil.mehta@intel.= com --- arch/x86/include/asm/smp.h | 2 -- arch/x86/kernel/smpboot.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index 094f31d..cf7217a 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h @@ -134,8 +134,6 @@ void native_send_call_func_ipi(const struct cpumask *ma= sk); void native_send_call_func_single_ipi(int cpu); =20 bool smp_park_other_cpus_in_init(void); - -void smp_store_boot_cpu_info(void); void smp_store_cpu_info(int id); =20 asmlinkage __visible void smp_reboot_interrupt(void); diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 6a09a02..28c590b 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -422,7 +422,7 @@ found: return 0; } =20 -void __init smp_store_boot_cpu_info(void) +static void __init smp_store_boot_cpu_info(void) { int id =3D 0; /* CPU 0 */ struct cpuinfo_x86 *c =3D &cpu_data(id);