summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-21 23:31:37 +0200
committerIngo Molnar <mingo@elte.hu>2008-05-04 20:04:45 +0200
commitc5562faeaacf19e81a78ee37cc6b96ab1f3e68e4 (patch)
treeebe19960fe1f9e789b64d8cb3a0e92b3ecddfb65 /arch/x86
parentx86: make start_secondary() static (diff)
downloadlinux-c5562faeaacf19e81a78ee37cc6b96ab1f3e68e4.tar.xz
linux-c5562faeaacf19e81a78ee37cc6b96ab1f3e68e4.zip
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')
-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)
{