diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-27 04:41:56 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:16:04 -0400 |
commit | f3294a33e765d8308c3e17b951a13e0db9cf5f00 (patch) | |
tree | d73b3b157bd1e21b9dbbdd49bfbb64f5763accfb /include/asm-x86/io_apic.h | |
parent | ab67715c7201be2fe729888a09007b6ba5bb2326 (diff) |
x86: let setup_arch call init_apic_mappings for 32bit
instead of calling it from trap_init()
also move init ioapic mapping out of apic_32.c
so 32 bit do same as 64 bit
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/io_apic.h')
-rw-r--r-- | include/asm-x86/io_apic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/io_apic.h b/include/asm-x86/io_apic.h index 8b1f5684842e..14f82bbcb5fd 100644 --- a/include/asm-x86/io_apic.h +++ b/include/asm-x86/io_apic.h | |||
@@ -186,6 +186,7 @@ extern void ioapic_init_mappings(void); | |||
186 | #else /* !CONFIG_X86_IO_APIC */ | 186 | #else /* !CONFIG_X86_IO_APIC */ |
187 | #define io_apic_assign_pci_irqs 0 | 187 | #define io_apic_assign_pci_irqs 0 |
188 | static const int timer_through_8259 = 0; | 188 | static const int timer_through_8259 = 0; |
189 | static inline void ioapic_init_mappings(void) { } | ||
189 | #endif | 190 | #endif |
190 | 191 | ||
191 | #endif | 192 | #endif |