x86: move declaring x2apic_extra_bits
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 22 Jul 2008 20:20:22 +0000 (13:20 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Jul 2008 11:00:05 +0000 (13:00 +0200)
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>
arch/x86/kernel/genx2apic_phys.c
arch/x86/kernel/genx2apic_uv_x.c

index f35a3bf3a9e56210878f13dfda18c7cfd81dc1cd..3229c68aedd43f87deac13ac3c6fd823e5087996 100644 (file)
@@ -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)
index 14a9772778e59262a47a99daf41ae7943fa2501f..169388c4cce9793a0715c3643f4004a9fa59a7a9 100644 (file)
@@ -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)