summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorSohil Mehta <sohil.mehta@intel.com>2023-07-27 18:05:33 +0000
committerThomas Gleixner <tglx@linutronix.de>2023-07-28 10:17:53 +0200
commitd7114f83ee051dfeac82546d7ba03d74f8b92af3 (patch)
tree4e3d7c0eb23ebc95a693706fa04b1cc5bd0c5a4d /arch/x86/kernel/smpboot.c
parent54bfd02bbfcd0582bc4ebf6fd57fba323b141b5b (diff)
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 <sohil.mehta@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20230727180533.3119660-4-sohil.mehta@intel.com
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 6a09a021b534..28c590b4b1b1 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -422,7 +422,7 @@ found:
return 0;
}
-void __init smp_store_boot_cpu_info(void)
+static void __init smp_store_boot_cpu_info(void)
{
int id = 0; /* CPU 0 */
struct cpuinfo_x86 *c = &cpu_data(id);