diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-03-17 22:08:48 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:41:08 +0200 |
commit | 0ec153af4dec8944e6da558093914a3bce4c76f9 (patch) | |
tree | 374a5287217a709e01ff1dd2697f844d955bb2da /arch/x86/pci/numa.c | |
parent | d285e338899a4ff662a17b22d3bb0e48bb1465d4 (diff) | |
download | op-kernel-dev-0ec153af4dec8944e6da558093914a3bce4c76f9.zip op-kernel-dev-0ec153af4dec8944e6da558093914a3bce4c76f9.tar.gz |
x86: remove mpc_oem_bus_info()
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/pci/numa.c')
-rw-r--r-- | arch/x86/pci/numa.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/pci/numa.c b/arch/x86/pci/numa.c index a98ae0e..d9afbae 100644 --- a/arch/x86/pci/numa.c +++ b/arch/x86/pci/numa.c @@ -17,6 +17,18 @@ int mp_bus_id_to_node[MAX_MP_BUSSES]; int mp_bus_id_to_local[MAX_MP_BUSSES]; #define BUS2LOCAL(global) (mp_bus_id_to_local[global]) +void mpc_oem_bus_info(struct mpc_config_bus *m, char *name, + struct mpc_config_translation *translation) +{ + int quad = translation->trans_quad; + int local = translation->trans_local; + + mp_bus_id_to_node[m->mpc_busid] = quad; + mp_bus_id_to_local[m->mpc_busid] = local; + printk(KERN_INFO "Bus #%d is %s (node %d)\n", + m->mpc_busid, name, quad); +} + 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, |