diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-18 08:47:09 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 11:50:54 -0400 |
commit | 33be8333421f842789fa7e363ce4142947e094f0 (patch) | |
tree | 1f7f2a98208c0348d346fdd5c13fc8df11d79b28 | |
parent | e1d3a90846b40ad3160bf4b648d36c6badad39ac (diff) |
x86: boot IRQ quirks and rerouting, fix
fix:
init/built-in.o: In function `nosmp':
main.c:(.init.text+0x14): undefined reference to `noioapicquirk'
main.c:(.init.text+0x1e): undefined reference to `noioapicreroute'
init/built-in.o: In function `maxcpus':
main.c:(.init.text+0x133): undefined reference to `noioapicquirk'
main.c:(.init.text+0x13d): undefined reference to `noioapicreroute'
arch/x86/kernel/built-in.o: In function `parse_noapic':
io_apic_32.c:(.init.text+0x7836): undefined reference to `noioapicquirk'
io_apic_32.c:(.init.text+0x7840): undefined reference to `noioapicreroute'
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | include/asm-x86/io_apic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/io_apic.h b/include/asm-x86/io_apic.h index a39670ae17df..721605d8f116 100644 --- a/include/asm-x86/io_apic.h +++ b/include/asm-x86/io_apic.h | |||
@@ -168,8 +168,10 @@ extern int timer_through_8259; | |||
168 | 168 | ||
169 | static inline void disable_ioapic_setup(void) | 169 | static inline void disable_ioapic_setup(void) |
170 | { | 170 | { |
171 | #ifdef CONFIG_PCI | ||
171 | noioapicquirk = 1; | 172 | noioapicquirk = 1; |
172 | noioapicreroute = -1; | 173 | noioapicreroute = -1; |
174 | #endif | ||
173 | skip_ioapic_setup = 1; | 175 | skip_ioapic_setup = 1; |
174 | } | 176 | } |
175 | 177 | ||