]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
X86_SMP: smpboot.c declare idle_thread_array and smp_b_stepping as static
authorJaswinder Singh <jaswinder@infradead.org>
Fri, 25 Jul 2008 05:22:53 +0000 (10:52 +0530)
committerJaswinder Singh <jaswinder@infradead.org>
Fri, 25 Jul 2008 06:27:20 +0000 (11:57 +0530)
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
arch/x86/kernel/smpboot.c

index 4b53a647bc0affd6bbfc3a47d7a57419b8449f24..a9331a42f76fa3ccc2d8a8dca8ae9e2e55e3f0ad 100644 (file)
@@ -88,7 +88,7 @@ static DEFINE_PER_CPU(struct task_struct *, idle_thread_array);
 #define get_idle_for_cpu(x)      (per_cpu(idle_thread_array, x))
 #define set_idle_for_cpu(x, p)   (per_cpu(idle_thread_array, x) = (p))
 #else
-struct task_struct *idle_thread_array[NR_CPUS] __cpuinitdata ;
+static struct task_struct *idle_thread_array[NR_CPUS] __cpuinitdata ;
 #define get_idle_for_cpu(x)      (idle_thread_array[(x)])
 #define set_idle_for_cpu(x, p)   (idle_thread_array[(x)] = (p))
 #endif
@@ -129,7 +129,7 @@ static int boot_cpu_logical_apicid;
 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)