diff options
author | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-25 10:52:53 +0530 |
---|---|---|
committer | Jaswinder Singh <jaswinder@infradead.org> | 2008-07-25 11:57:20 +0530 |
commit | f86c99853b22576ee8dc4fa27ff6f3c0c7ce0ef8 (patch) | |
tree | 96d59fc3dd66157356a5bc4e074fe839a14a4fb1 /arch/x86/kernel/smpboot.c | |
parent | e7f08dfdaa82def3d685d16fdb99203cbb67ec95 (diff) | |
download | linux-f86c99853b22576ee8dc4fa27ff6f3c0c7ce0ef8.tar.gz linux-f86c99853b22576ee8dc4fa27ff6f3c0c7ce0ef8.tar.bz2 linux-f86c99853b22576ee8dc4fa27ff6f3c0c7ce0ef8.zip |
X86_SMP: smpboot.c declare idle_thread_array and smp_b_stepping as static
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 4b53a647bc0a..a9331a42f76f 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -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) |