diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-03-17 15:08:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:08 -0400 |
commit | d285e338899a4ff662a17b22d3bb0e48bb1465d4 (patch) | |
tree | 14fd807235a5aaf5818c32b9875af8a76e1d14a7 /arch/x86 | |
parent | 4655c7deca112bea86ca00f616f19c3717f687aa (diff) |
x86: remove mpc_oem_pci_bus()
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 | 2 | ||||
-rw-r--r-- | arch/x86/pci/numa.c | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index 072fcc462399..621eac569550 100644 --- a/arch/x86/kernel/mpparse_32.c +++ b/arch/x86/kernel/mpparse_32.c | |||
@@ -278,7 +278,9 @@ static void __init MP_bus_info (struct mpc_config_bus *m) | |||
278 | 278 | ||
279 | set_bit(m->mpc_busid, mp_bus_not_pci); | 279 | set_bit(m->mpc_busid, mp_bus_not_pci); |
280 | if (strncmp(str, BUSTYPE_PCI, sizeof(BUSTYPE_PCI)-1) == 0) { | 280 | if (strncmp(str, BUSTYPE_PCI, sizeof(BUSTYPE_PCI)-1) == 0) { |
281 | #ifdef CONFIG_X86_NUMAQ | ||
281 | mpc_oem_pci_bus(m, translation_table[mpc_record]); | 282 | mpc_oem_pci_bus(m, translation_table[mpc_record]); |
283 | #endif | ||
282 | clear_bit(m->mpc_busid, mp_bus_not_pci); | 284 | clear_bit(m->mpc_busid, mp_bus_not_pci); |
283 | mp_bus_id_to_pci_bus[m->mpc_busid] = mp_current_pci_id; | 285 | mp_bus_id_to_pci_bus[m->mpc_busid] = mp_current_pci_id; |
284 | mp_current_pci_id++; | 286 | mp_current_pci_id++; |
diff --git a/arch/x86/pci/numa.c b/arch/x86/pci/numa.c index 79d0a98b9d03..a98ae0e57272 100644 --- a/arch/x86/pci/numa.c +++ b/arch/x86/pci/numa.c | |||
@@ -19,6 +19,14 @@ int mp_bus_id_to_local[MAX_MP_BUSSES]; | |||
19 | 19 | ||
20 | int quad_local_to_mp_bus_id [NR_CPUS/4][4]; | 20 | int quad_local_to_mp_bus_id [NR_CPUS/4][4]; |
21 | #define QUADLOCAL2BUS(quad,local) (quad_local_to_mp_bus_id[quad][local]) | 21 | #define QUADLOCAL2BUS(quad,local) (quad_local_to_mp_bus_id[quad][local]) |
22 | void mpc_oem_pci_bus(struct mpc_config_bus *m, | ||
23 | struct mpc_config_translation *translation) | ||
24 | { | ||
25 | int quad = translation->trans_quad; | ||
26 | int local = translation->trans_local; | ||
27 | |||
28 | quad_local_to_mp_bus_id[quad][local] = m->mpc_busid; | ||
29 | } | ||
22 | 30 | ||
23 | /* Where the IO area was mapped on multiquad, always 0 otherwise */ | 31 | /* Where the IO area was mapped on multiquad, always 0 otherwise */ |
24 | void *xquad_portio; | 32 | void *xquad_portio; |