diff options
author | Brian Gerst <brgerst@gmail.com> | 2009-01-26 22:56:48 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-01-26 22:56:48 -0500 |
commit | 89c9c4c58ee86e6e8802597271f23679e0c46647 (patch) | |
tree | eb22bb5577e84f2f1fdcc90d0f293f66673c8910 /arch/x86/kernel | |
parent | 34019be1cd2941128b5de6d7c0fbdb51f967d268 (diff) |
x86: make Voyager use x86 per-cpu setup.
Impact: standardize all x86 platforms on same setup code
With the preceding changes, Voyager can use the same per-cpu setup
code as all the other x86 platforms.
Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/setup_percpu.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c index be77f1a1231d..599dc1cc1da8 100644 --- a/arch/x86/kernel/setup_percpu.c +++ b/arch/x86/kernel/setup_percpu.c | |||
@@ -35,8 +35,6 @@ EXPORT_PER_CPU_SYMBOL(cpu_number); | |||
35 | DEFINE_PER_CPU(unsigned long, this_cpu_off) = BOOT_PERCPU_OFFSET; | 35 | DEFINE_PER_CPU(unsigned long, this_cpu_off) = BOOT_PERCPU_OFFSET; |
36 | EXPORT_PER_CPU_SYMBOL(this_cpu_off); | 36 | EXPORT_PER_CPU_SYMBOL(this_cpu_off); |
37 | 37 | ||
38 | #ifdef CONFIG_HAVE_SETUP_PER_CPU_AREA | ||
39 | |||
40 | unsigned long __per_cpu_offset[NR_CPUS] __read_mostly = { | 38 | unsigned long __per_cpu_offset[NR_CPUS] __read_mostly = { |
41 | [0 ... NR_CPUS-1] = BOOT_PERCPU_OFFSET, | 39 | [0 ... NR_CPUS-1] = BOOT_PERCPU_OFFSET, |
42 | }; | 40 | }; |
@@ -125,6 +123,3 @@ void __init setup_per_cpu_areas(void) | |||
125 | /* Setup cpu initialized, callin, callout masks */ | 123 | /* Setup cpu initialized, callin, callout masks */ |
126 | setup_cpu_local_masks(); | 124 | setup_cpu_local_masks(); |
127 | } | 125 | } |
128 | |||
129 | #endif | ||
130 | |||