summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-03-17 22:08:42 +0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:08 +0200
commitd285e338899a4ff662a17b22d3bb0e48bb1465d4 (patch)
tree14fd807235a5aaf5818c32b9875af8a76e1d14a7 /arch/x86/pci
parent4655c7deca112bea86ca00f616f19c3717f687aa (diff)
downloadop-kernel-dev-d285e338899a4ff662a17b22d3bb0e48bb1465d4.zip
op-kernel-dev-d285e338899a4ff662a17b22d3bb0e48bb1465d4.tar.gz
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/pci')
-rw-r--r--arch/x86/pci/numa.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/pci/numa.c b/arch/x86/pci/numa.c
index 79d0a98..a98ae0e 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];
int quad_local_to_mp_bus_id [NR_CPUS/4][4];
#define QUADLOCAL2BUS(quad,local) (quad_local_to_mp_bus_id[quad][local])
+void mpc_oem_pci_bus(struct mpc_config_bus *m,
+ struct mpc_config_translation *translation)
+{
+ int quad = translation->trans_quad;
+ int local = translation->trans_local;
+
+ quad_local_to_mp_bus_id[quad][local] = m->mpc_busid;
+}
/* Where the IO area was mapped on multiquad, always 0 otherwise */
void *xquad_portio;
OpenPOWER on IntegriCloud