Messages in this thread Patch in this message | | | From | Yinghai Lu <> | Subject | [PATCH] x86: move declaring x2apic_extra_bits | Date | Tue, 22 Jul 2008 13:20:22 -0700 |
| |
it is for uv only
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
--- arch/x86/kernel/genx2apic_phys.c | 2 -- arch/x86/kernel/genx2apic_uv_x.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/arch/x86/kernel/genx2apic_phys.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/genx2apic_phys.c +++ linux-2.6/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) Index: linux-2.6/arch/x86/kernel/genx2apic_uv_x.c =================================================================== --- linux-2.6.orig/arch/x86/kernel/genx2apic_uv_x.c +++ linux-2.6/arch/x86/kernel/genx2apic_uv_x.c @@ -27,6 +27,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)
| |