diff options
Diffstat (limited to 'arch/x86/kernel/irqinit_32.c')
-rw-r--r-- | arch/x86/kernel/irqinit_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/irqinit_32.c b/arch/x86/kernel/irqinit_32.c index 61aa2a1004b..84723295f88 100644 --- a/arch/x86/kernel/irqinit_32.c +++ b/arch/x86/kernel/irqinit_32.c | |||
@@ -140,7 +140,7 @@ void __init native_init_IRQ(void) | |||
140 | for (i = FIRST_EXTERNAL_VECTOR; i < NR_VECTORS; i++) { | 140 | for (i = FIRST_EXTERNAL_VECTOR; i < NR_VECTORS; i++) { |
141 | /* SYSCALL_VECTOR was reserved in trap_init. */ | 141 | /* SYSCALL_VECTOR was reserved in trap_init. */ |
142 | if (i != SYSCALL_VECTOR) | 142 | if (i != SYSCALL_VECTOR) |
143 | set_intr_gate(i, interrupt[i]); | 143 | set_intr_gate(i, interrupt[i-FIRST_EXTERNAL_VECTOR]); |
144 | } | 144 | } |
145 | 145 | ||
146 | 146 | ||