summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mach-generic
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-20 03:01:16 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-20 09:25:52 +0200
commit64898a8bad8c94ad7a4bd5cc86b66edfbb081f4a (patch)
tree013c56a97a533c0843d28d838bc94e6de3da9e2c /include/asm-x86/mach-generic
parentx86: introduce x86_quirks (diff)
downloadlinux-64898a8bad8c94ad7a4bd5cc86b66edfbb081f4a.tar.xz
linux-64898a8bad8c94ad7a4bd5cc86b66edfbb081f4a.zip
x86: extend and use x86_quirks to clean up NUMAQ code
add these new x86_quirks methods: int *mpc_record; int (*mpc_apic_id)(struct mpc_config_processor *m); void (*mpc_oem_bus_info)(struct mpc_config_bus *m, char *name); void (*mpc_oem_pci_bus)(struct mpc_config_bus *m); void (*smp_read_mpc_oem)(struct mp_config_oemtable *oemtable, unsigned short oemsize); ... and move NUMAQ related mps table handling to numaq_32.c. also move the call to smp_read_mpc_oem() to smp_read_mpc() directly. Should not change functionality, albeit it would be nice to get it tested on real NUMAQ as well ... Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/mach-generic')
-rw-r--r--include/asm-x86/mach-generic/mach_mpspec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/mach-generic/mach_mpspec.h b/include/asm-x86/mach-generic/mach_mpspec.h
index 9ef0b941bb22..c83c120be538 100644
--- a/include/asm-x86/mach-generic/mach_mpspec.h
+++ b/include/asm-x86/mach-generic/mach_mpspec.h
@@ -7,4 +7,6 @@
/* Maximum 256 PCI busses, plus 1 ISA bus in each of 4 cabinets. */
#define MAX_MP_BUSSES 260
+extern void numaq_mps_oem_check(struct mp_config_table *mpc, char *oem,
+ char *productid);
#endif /* __ASM_MACH_MPSPEC_H */