diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-07-22 13:20:22 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-24 13:00:05 +0200 |
commit | 510b37258dfd61693ca6c039865c78bd996e3718 (patch) | |
tree | 4308a8a23bb6d96319a035b18e8e79175c4ed2cd /arch | |
parent | fd60b39f845aa7462453af8aed4f059b162f181f (diff) | |
download | kernel_samsung_smdk4412-510b37258dfd61693ca6c039865c78bd996e3718.zip kernel_samsung_smdk4412-510b37258dfd61693ca6c039865c78bd996e3718.tar.gz kernel_samsung_smdk4412-510b37258dfd61693ca6c039865c78bd996e3718.tar.bz2 |
x86: move declaring x2apic_extra_bits
it is for uv only
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/genx2apic_phys.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/genx2apic_uv_x.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/genx2apic_phys.c b/arch/x86/kernel/genx2apic_phys.c index f35a3bf..3229c68 100644 --- a/arch/x86/kernel/genx2apic_phys.c +++ b/arch/x86/kernel/genx2apic_phys.c @@ -10,8 +10,6 @@ #include <asm/ipi.h> #include <asm/genapic.h> -DEFINE_PER_CPU(int, x2apic_extra_bits); - static int x2apic_phys; static int set_x2apic_phys_mode(char *arg) diff --git a/arch/x86/kernel/genx2apic_uv_x.c b/arch/x86/kernel/genx2apic_uv_x.c index 14a97727..169388c 100644 --- a/arch/x86/kernel/genx2apic_uv_x.c +++ b/arch/x86/kernel/genx2apic_uv_x.c @@ -26,6 +26,8 @@ #include <asm/uv/uv_hub.h> #include <asm/uv/bios.h> +DEFINE_PER_CPU(int, x2apic_extra_bits); + static enum uv_system_type uv_system_type; static int __init uv_acpi_madt_oem_check(char *oem_id, char *oem_table_id) |