diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-03-11 19:45:48 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:40:58 +0200 |
commit | 6079d2d5d11122eb52721f0f3c828952a490e6c1 (patch) | |
tree | 7882df91e3953cf0d6097548c35c90fb43a2e045 /arch/x86 | |
parent | 5d570cbbf25a62e9c077f5b351fb142dbfc67288 (diff) | |
download | kernel_samsung_smdk4412-6079d2d5d11122eb52721f0f3c828952a490e6c1.zip kernel_samsung_smdk4412-6079d2d5d11122eb52721f0f3c828952a490e6c1.tar.gz kernel_samsung_smdk4412-6079d2d5d11122eb52721f0f3c828952a490e6c1.tar.bz2 |
x86: move quad_local_to_mp_bus_id to numa.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/mpparse_32.c | 1 | ||||
-rw-r--r-- | arch/x86/pci/numa.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index b2aded3..2abc939 100644 --- a/arch/x86/kernel/mpparse_32.c +++ b/arch/x86/kernel/mpparse_32.c @@ -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; diff --git a/arch/x86/pci/numa.c b/arch/x86/pci/numa.c index 55270c2..3248d3e 100644 --- a/arch/x86/pci/numa.c +++ b/arch/x86/pci/numa.c @@ -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 */ |