x86: extend and use x86_quirks to clean up NUMAQ code
authorYinghai Lu <yhlu.kernel@gmail.com>
Sun, 20 Jul 2008 01:01:16 +0000 (18:01 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Jul 2008 07:25:52 +0000 (09:25 +0200)
commit64898a8bad8c94ad7a4bd5cc86b66edfbb081f4a
tree013c56a97a533c0843d28d838bc94e6de3da9e2c
parent3c9cb6de1e5ad37d1558fdb0d9d2bed5a7bac0d9
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>
arch/x86/kernel/mpparse.c
arch/x86/kernel/numaq_32.c
include/asm-x86/mach-generic/mach_mpspec.h
include/asm-x86/setup.h