diff options
Diffstat (limited to 'arch/x86/cpu/i386/interrupt.c')
-rw-r--r-- | arch/x86/cpu/i386/interrupt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/cpu/i386/interrupt.c b/arch/x86/cpu/i386/interrupt.c index ed8423e079..47df3172b7 100644 --- a/arch/x86/cpu/i386/interrupt.c +++ b/arch/x86/cpu/i386/interrupt.c | |||
@@ -37,7 +37,7 @@ static char *exceptions[] = { | |||
37 | "Overflow", | 37 | "Overflow", |
38 | "BOUND Range Exceeded", | 38 | "BOUND Range Exceeded", |
39 | "Invalid Opcode (Undefined Opcode)", | 39 | "Invalid Opcode (Undefined Opcode)", |
40 | "Device Not Avaiable (No Math Coprocessor)", | 40 | "Device Not Available (No Math Coprocessor)", |
41 | "Double Fault", | 41 | "Double Fault", |
42 | "Coprocessor Segment Overrun", | 42 | "Coprocessor Segment Overrun", |
43 | "Invalid TSS", | 43 | "Invalid TSS", |
@@ -264,7 +264,9 @@ int interrupt_init(void) | |||
264 | i8259_init(); | 264 | i8259_init(); |
265 | #endif | 265 | #endif |
266 | 266 | ||
267 | #ifdef CONFIG_APIC | ||
267 | lapic_setup(); | 268 | lapic_setup(); |
269 | #endif | ||
268 | 270 | ||
269 | /* Initialize core interrupt and exception functionality of CPU */ | 271 | /* Initialize core interrupt and exception functionality of CPU */ |
270 | cpu_init_interrupts(); | 272 | cpu_init_interrupts(); |