diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-04-04 15:40:54 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:34 -0400 |
commit | 708650afe98a50d0b280bea9dcf5f160b94ee9fb (patch) | |
tree | 0938a39bebe4896da83bc0837fdd2ef46d8911ea /arch/x86/kernel/genapic_64.c | |
parent | 0fc0906e59df1427d194b78376d15ca48079f6bf (diff) |
x86: move x86_cpu_to_apicid_init to smpboot.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genapic_64.c')
-rw-r--r-- | arch/x86/kernel/genapic_64.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/genapic_64.c b/arch/x86/kernel/genapic_64.c index 7df38c4c8575..9546ef408b92 100644 --- a/arch/x86/kernel/genapic_64.c +++ b/arch/x86/kernel/genapic_64.c | |||
@@ -25,12 +25,6 @@ | |||
25 | #include <acpi/acpi_bus.h> | 25 | #include <acpi/acpi_bus.h> |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | /* which logical CPU number maps to which CPU (physical APIC ID) */ | ||
29 | #ifdef CONFIG_SMP | ||
30 | u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata | ||
31 | = { [0 ... NR_CPUS-1] = BAD_APICID }; | ||
32 | void *x86_cpu_to_apicid_early_ptr; | ||
33 | #endif | ||
34 | DEFINE_PER_CPU(int, x2apic_extra_bits); | 28 | DEFINE_PER_CPU(int, x2apic_extra_bits); |
35 | 29 | ||
36 | struct genapic __read_mostly *genapic = &apic_flat; | 30 | struct genapic __read_mostly *genapic = &apic_flat; |