aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-18 14:47:09 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-08 17:50:54 +0200
commit33be8333421f842789fa7e363ce4142947e094f0 (patch)
tree1f7f2a98208c0348d346fdd5c13fc8df11d79b28
parente1d3a90846b40ad3160bf4b648d36c6badad39ac (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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/io_apic.h b/include/asm-x86/io_apic.h
index a39670ae17d..721605d8f11 100644
--- a/include/asm-x86/io_apic.h
+++ b/include/asm-x86/io_apic.h
@@ -168,8 +168,10 @@ extern int timer_through_8259;
static inline void disable_ioapic_setup(void)
{
+#ifdef CONFIG_PCI
noioapicquirk = 1;
noioapicreroute = -1;
+#endif
skip_ioapic_setup = 1;
}