aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-22 13:20:22 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-24 13:00:05 +0200
commit510b37258dfd61693ca6c039865c78bd996e3718 (patch)
tree4308a8a23bb6d96319a035b18e8e79175c4ed2cd
parentfd60b39f845aa7462453af8aed4f059b162f181f (diff)
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>
-rw-r--r--arch/x86/kernel/genx2apic_phys.c2
-rw-r--r--arch/x86/kernel/genx2apic_uv_x.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/genx2apic_phys.c b/arch/x86/kernel/genx2apic_phys.c
index f35a3bf3a9e..3229c68aedd 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 14a9772778e..169388c4cce 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)