diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/irqinit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c index b424c32c4a0c..2e08b10ad51a 100644 --- a/arch/x86/kernel/irqinit.c +++ b/arch/x86/kernel/irqinit.c | |||
@@ -240,19 +240,19 @@ void __init native_init_IRQ(void) | |||
240 | /* Execute any quirks before the call gates are initialised: */ | 240 | /* Execute any quirks before the call gates are initialised: */ |
241 | x86_quirk_pre_intr_init(); | 241 | x86_quirk_pre_intr_init(); |
242 | 242 | ||
243 | apic_intr_init(); | ||
244 | |||
243 | /* | 245 | /* |
244 | * Cover the whole vector space, no vector can escape | 246 | * Cover the whole vector space, no vector can escape |
245 | * us. (some of these will be overridden and become | 247 | * us. (some of these will be overridden and become |
246 | * 'special' SMP interrupts) | 248 | * 'special' SMP interrupts) |
247 | */ | 249 | */ |
248 | for (i = FIRST_EXTERNAL_VECTOR; i < NR_VECTORS; i++) { | 250 | for (i = FIRST_EXTERNAL_VECTOR; i < NR_VECTORS; i++) { |
249 | /* IA32_SYSCALL_VECTOR was reserved in trap_init. */ | 251 | /* IA32_SYSCALL_VECTOR could be used in trap_init already. */ |
250 | if (i != IA32_SYSCALL_VECTOR) | 252 | if (!test_bit(i, used_vectors)) |
251 | set_intr_gate(i, interrupt[i-FIRST_EXTERNAL_VECTOR]); | 253 | set_intr_gate(i, interrupt[i-FIRST_EXTERNAL_VECTOR]); |
252 | } | 254 | } |
253 | 255 | ||
254 | apic_intr_init(); | ||
255 | |||
256 | if (!acpi_ioapic) | 256 | if (!acpi_ioapic) |
257 | setup_irq(2, &irq2); | 257 | setup_irq(2, &irq2); |
258 | 258 | ||