Browse Source

x86: fully honor "nolapic", fix

Impact: build fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 16 years ago
parent
commit
5cdc5e9e69
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/x86/kernel/apic.c

+ 2 - 0
arch/x86/kernel/apic.c

@@ -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;
 	}