Skip to contentSkip to conversation

x86: make start_secondary() static

PATCH New Adrian Bunk 1 participant 1 message Apr 21, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: make start_secondary() static

start_secondary() needlessly became global.

---
c2c97ec1631c669a4da2f3d927a47183a8de6784 diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 679c0ca..3000fff 100644

arch/x86/kernel/smpboot.c +1 -1
@@ -301,7 +301,7 @@ void __cpuinit smp_callin(void)
 /*
  * Activate a secondary processor.
  */
-void __cpuinit start_secondary(void *unused)
+static void __cpuinit start_secondary(void *unused)
 {
 	/*
 	 * Don't put *anything* before cpu_init(), SMP booting is too