diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-20 03:27:29 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-27 11:12:52 -0400 |
commit | de93410310952fb7b705f784ef22493c8362dbe8 (patch) | |
tree | ebf9925e8f78343ddb24049cc9146ead4df34661 /arch/x86/kernel/head32.c | |
parent | f4848472cd99487e182b64fb2a5d0e4fedbe86ad (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/head32.c')
-rw-r--r-- | arch/x86/kernel/head32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/head32.c b/arch/x86/kernel/head32.c index 921a23b6c145..a21398fac4fa 100644 --- a/arch/x86/kernel/head32.c +++ b/arch/x86/kernel/head32.c | |||
@@ -13,6 +13,8 @@ | |||
13 | #include <asm/e820.h> | 13 | #include <asm/e820.h> |
14 | #include <asm/page.h> | 14 | #include <asm/page.h> |
15 | #include <asm/trampoline.h> | 15 | #include <asm/trampoline.h> |
16 | #include <asm/apic.h> | ||
17 | #include <asm/io_apic.h> | ||
16 | 18 | ||
17 | void __init i386_start_kernel(void) | 19 | void __init i386_start_kernel(void) |
18 | { | 20 | { |
@@ -32,6 +34,7 @@ void __init i386_start_kernel(void) | |||
32 | /* Initilize 32bit specific setup functions */ | 34 | /* Initilize 32bit specific setup functions */ |
33 | x86_init.resources.probe_roms = probe_roms; | 35 | x86_init.resources.probe_roms = probe_roms; |
34 | x86_init.resources.reserve_resources = i386_reserve_resources; | 36 | x86_init.resources.reserve_resources = i386_reserve_resources; |
37 | x86_init.mpparse.setup_ioapic_ids = setup_ioapic_ids_from_mpc; | ||
35 | 38 | ||
36 | x86_init.resources.reserve_ebda_region(); | 39 | x86_init.resources.reserve_ebda_region(); |
37 | 40 | ||