[PATCH] x86: move declaring x2apic_extra_bits

From: Yinghai Lu
Date: Tue Jul 22 2008 - 16:21:18 EST



it is for uv only

Signed-off-by: Yinghai Lu <yhlu.kernel@xxxxxxxxx>

---
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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/