summaryrefslogtreecommitdiff
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-22 00:31:37 +0300
committerIngo Molnar <mingo@elte.hu>2008-05-04 20:04:45 +0200
commitc5562faeaacf19e81a78ee37cc6b96ab1f3e68e4 (patch)
treeebe19960fe1f9e789b64d8cb3a0e92b3ecddfb65 /arch/x86/kernel
parentdbe55f4797712f86691a0ee0b5f508693c7310fe (diff)
x86: make additional_cpus static
This patch makes the needlessly global additional_cpus static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel')
-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 b78e4d47a42b..6b087ab6cd8f 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1306,7 +1306,7 @@ static void remove_siblinginfo(int cpu)
cpu_clear(cpu, cpu_sibling_setup_map);
}
-int additional_cpus __initdata = -1;
+static int additional_cpus __initdata = -1;
static __init int setup_additional_cpus(char *s)
{