]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: move quad_local_to_mp_bus_id to numa.c
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Tue, 11 Mar 2008 16:45:48 +0000 (19:45 +0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:40:58 +0000 (17:40 +0200)
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/mpparse_32.c
arch/x86/pci/numa.c
include/asm-x86/mach-numaq/mach_mpparse.h
include/asm-x86/mpspec.h

index b2aded3fbfec6ae6bf330e5924a3525a67d8ce93..2abc9392799add841607d59d7c97d843d8506bd2 100644 (file)
@@ -45,7 +45,6 @@ int apic_version [MAX_APICS];
 int mp_bus_id_to_type [MAX_MP_BUSSES];
 int mp_bus_id_to_node [MAX_MP_BUSSES];
 int mp_bus_id_to_local [MAX_MP_BUSSES];
-int quad_local_to_mp_bus_id [NR_CPUS/4][4];
 int mp_bus_id_to_pci_bus [MAX_MP_BUSSES] = { [0 ... MAX_MP_BUSSES-1] = -1 };
 static int mp_current_pci_id;
 
index 55270c26237ce7ff1f95d65eb17d8c3b81e350d8..3248d3ee388ff2c47d00ac48936e7c89e0e61199 100644 (file)
@@ -13,6 +13,8 @@
 
 #define BUS2QUAD(global) (mp_bus_id_to_node[global])
 #define BUS2LOCAL(global) (mp_bus_id_to_local[global])
+
+int quad_local_to_mp_bus_id [NR_CPUS/4][4];
 #define QUADLOCAL2BUS(quad,local) (quad_local_to_mp_bus_id[quad][local])
 
 extern void *xquad_portio;    /* Where the IO area was mapped */
index 51bbac8fc0c2ea83194e8b5cd8551070047ea63a..cd21f289e6b774f1ed080ad552cf41d957bbcfa9 100644 (file)
@@ -12,6 +12,8 @@ static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
        printk("Bus #%d is %s (node %d)\n", m->mpc_busid, name, quad);
 }
 
+extern int quad_local_to_mp_bus_id[NR_CPUS/4][4];
+
 static inline void mpc_oem_pci_bus(struct mpc_config_bus *m, 
                                struct mpc_config_translation *translation)
 {
index 781ad74ab9e9e1a519fd27a7fb42c347bff52743..dbd63f8d4750e2ec35cb4ae2aa1341daba77e193 100644 (file)
@@ -9,7 +9,6 @@
 extern int mp_bus_id_to_type[MAX_MP_BUSSES];
 extern int mp_bus_id_to_node[MAX_MP_BUSSES];
 extern int mp_bus_id_to_local[MAX_MP_BUSSES];
-extern int quad_local_to_mp_bus_id[NR_CPUS/4][4];
 
 extern unsigned int def_to_bigsmp;
 extern int apic_version[MAX_APICS];