• Yinghai Lu's avatar
    x86: extend and use x86_quirks to clean up NUMAQ code · 64898a8b
    Yinghai Lu authored
    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: default avatarYinghai Lu <yhlu.kernel@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    64898a8b
setup.h 2.35 KB