aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mach-numaq/mach_mpparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/mach-numaq/mach_mpparse.h')
-rw-r--r--include/asm-x86/mach-numaq/mach_mpparse.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/include/asm-x86/mach-numaq/mach_mpparse.h b/include/asm-x86/mach-numaq/mach_mpparse.h
index 4a5d8a8b01a..459b1240118 100644
--- a/include/asm-x86/mach-numaq/mach_mpparse.h
+++ b/include/asm-x86/mach-numaq/mach_mpparse.h
@@ -1,20 +1,8 @@
1#ifndef __ASM_MACH_MPPARSE_H 1#ifndef __ASM_MACH_MPPARSE_H
2#define __ASM_MACH_MPPARSE_H 2#define __ASM_MACH_MPPARSE_H
3 3
4extern int mp_bus_id_to_local[MAX_MP_BUSSES]; 4extern void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
5extern int mp_bus_id_to_node[MAX_MP_BUSSES]; 5 struct mpc_config_translation *translation);
6
7static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
8 struct mpc_config_translation *translation)
9{
10 int quad = translation->trans_quad;
11 int local = translation->trans_local;
12
13 mp_bus_id_to_node[m->mpc_busid] = quad;
14 mp_bus_id_to_local[m->mpc_busid] = local;
15 printk("Bus #%d is %s (node %d)\n", m->mpc_busid, name, quad);
16}
17
18extern void mpc_oem_pci_bus(struct mpc_config_bus *m, 6extern void mpc_oem_pci_bus(struct mpc_config_bus *m,
19 struct mpc_config_translation *translation); 7 struct mpc_config_translation *translation);
20 8