Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_MACH_MPPARSE_H |
| 2 | #define __ASM_MACH_MPPARSE_H |
| 3 | |
Alexey Starikovskiy | e129cb4 | 2008-03-11 22:55:42 +0300 | [diff] [blame] | 4 | extern int mp_bus_id_to_local[MAX_MP_BUSSES]; |
Alexey Starikovskiy | 037cab0 | 2008-03-11 22:55:48 +0300 | [diff] [blame] | 5 | extern int mp_bus_id_to_node[MAX_MP_BUSSES]; |
Alexey Starikovskiy | e129cb4 | 2008-03-11 22:55:42 +0300 | [diff] [blame] | 6 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | static 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 | |
Alexey Starikovskiy | d285e33 | 2008-03-17 22:08:42 +0300 | [diff] [blame^] | 18 | extern void mpc_oem_pci_bus(struct mpc_config_bus *m, |
| 19 | struct mpc_config_translation *translation); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | /* Hook from generic ACPI tables.c */ |
| 22 | static inline void acpi_madt_oem_check(char *oem_id, char *oem_table_id) |
| 23 | { |
| 24 | } |
| 25 | |
| 26 | #endif /* __ASM_MACH_MPPARSE_H */ |