summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/i386/interrupt.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/i386/interrupt.c')
-rw-r--r--arch/x86/cpu/i386/interrupt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/i386/interrupt.c b/arch/x86/cpu/i386/interrupt.c
index ed8423e079..1ea415b876 100644
--- a/arch/x86/cpu/i386/interrupt.c
+++ b/arch/x86/cpu/i386/interrupt.c
@@ -264,7 +264,9 @@ int interrupt_init(void)
i8259_init();
#endif
+#ifdef CONFIG_APIC
lapic_setup();
+#endif
/* Initialize core interrupt and exception functionality of CPU */
cpu_init_interrupts();