diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-07-22 16:20:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-24 07:00:05 -0400 |
commit | 510b37258dfd61693ca6c039865c78bd996e3718 (patch) | |
tree | 4308a8a23bb6d96319a035b18e8e79175c4ed2cd | |
parent | fd60b39f845aa7462453af8aed4f059b162f181f (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.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 f35a3bf3a9e5..3229c68aedd4 100644 --- a/arch/x86/kernel/genx2apic_phys.c +++ b/arch/x86/kernel/genx2apic_phys.c | |||
@@ -10,8 +10,6 @@ | |||
10 | #include <asm/ipi.h> | 10 | #include <asm/ipi.h> |
11 | #include <asm/genapic.h> | 11 | #include <asm/genapic.h> |
12 | 12 | ||
13 | DEFINE_PER_CPU(int, x2apic_extra_bits); | ||
14 | |||
15 | static int x2apic_phys; | 13 | static int x2apic_phys; |
16 | 14 | ||
17 | static int set_x2apic_phys_mode(char *arg) | 15 | 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 14a9772778e5..169388c4cce9 100644 --- a/arch/x86/kernel/genx2apic_uv_x.c +++ b/arch/x86/kernel/genx2apic_uv_x.c | |||
@@ -26,6 +26,8 @@ | |||
26 | #include <asm/uv/uv_hub.h> | 26 | #include <asm/uv/uv_hub.h> |
27 | #include <asm/uv/bios.h> | 27 | #include <asm/uv/bios.h> |
28 | 28 | ||
29 | DEFINE_PER_CPU(int, x2apic_extra_bits); | ||
30 | |||
29 | static enum uv_system_type uv_system_type; | 31 | static enum uv_system_type uv_system_type; |
30 | 32 | ||
31 | static int __init uv_acpi_madt_oem_check(char *oem_id, char *oem_table_id) | 33 | static int __init uv_acpi_madt_oem_check(char *oem_id, char *oem_table_id) |