Skip to contentSkip to conversation

x86: make smp_b_stepping static

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: make smp_b_stepping static

smp_b_stepping needlessly became global.

---
9a408bf30cc7e5197f8d61f25139184edefd890d diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 3000fff..7d9b441 100644

arch/x86/kernel/smpboot.c +1 -1
@@ -147,7 +147,7 @@ unsigned char *trampoline_base = __va(TRAMPOLINE_BASE);
 static cpumask_t cpu_sibling_setup_map;
 
 /* Set if we find a B stepping CPU */
-int __cpuinitdata smp_b_stepping;
+static int __cpuinitdata smp_b_stepping;
 
 #if defined(CONFIG_NUMA) && defined(CONFIG_X86_32)