diff options
| author | 2008-04-04 23:40:41 +0400 | |
|---|---|---|
| committer | 2008-04-17 17:41:34 +0200 | |
| commit | 76eb41319d6ab98d17c81a8001a6d7ed9f8359ee (patch) | |
| tree | bc447a84012591644a5f96fceb83807e06be0b4c /arch/x86/kernel/setup.c | |
| parent | x86: move x86_bios_cpu_apicid to io_apic_64.c (diff) | |
| download | linux-dev-76eb41319d6ab98d17c81a8001a6d7ed9f8359ee.tar.xz linux-dev-76eb41319d6ab98d17c81a8001a6d7ed9f8359ee.zip | |
x86: move x86_cpu_to_apicid to setup.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/setup.c')
| -rw-r--r-- | arch/x86/kernel/setup.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index dc7940955b7a..01119d9b013e 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -9,6 +9,10 @@ #include <asm/processor.h> #include <asm/setup.h> #include <asm/topology.h> +#include <asm/apicdef.h> + +DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID; +EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid); #if defined(CONFIG_HAVE_SETUP_PER_CPU_AREA) && defined(CONFIG_SMP) /* |
