x86: Move ioapic_ids_setup to x86_init_ops
32bit and also the numaq code have special requirements on the ioapic_id setup. Convert it to a x86_init_ops function and get rid of the quirks and #ifdefs Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@ -13,6 +13,8 @@
|
||||
#include <asm/e820.h>
|
||||
#include <asm/page.h>
|
||||
#include <asm/trampoline.h>
|
||||
#include <asm/apic.h>
|
||||
#include <asm/io_apic.h>
|
||||
|
||||
void __init i386_start_kernel(void)
|
||||
{
|
||||
@ -32,6 +34,7 @@ void __init i386_start_kernel(void)
|
||||
/* Initilize 32bit specific setup functions */
|
||||
x86_init.resources.probe_roms = probe_roms;
|
||||
x86_init.resources.reserve_resources = i386_reserve_resources;
|
||||
x86_init.mpparse.setup_ioapic_ids = setup_ioapic_ids_from_mpc;
|
||||
|
||||
x86_init.resources.reserve_ebda_region();
|
||||
|
||||
|
Reference in New Issue
Block a user