x86: fully honor "nolapic", fix
authorIngo Molnar <mingo@elte.hu>
Mon, 19 Jan 2009 19:49:37 +0000 (20:49 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 19 Jan 2009 19:49:37 +0000 (20:49 +0100)
Impact: build fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic.c

index 4857879558346af6a31e519a07a88a0e97abd511..9ca12af6c876a265de17cabd598ce69cb04738ed 100644 (file)
@@ -1131,7 +1131,9 @@ void __cpuinit setup_local_APIC(void)
        int i, j;
 
        if (disable_apic) {
+#ifdef CONFIG_X86_IO_APIC
                disable_ioapic_setup();
+#endif
                return;
        }