diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-04-09 04:52:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-10 08:35:54 -0400 |
commit | d3496c85cae22fb7713af6ed542a6aeae8ee4210 (patch) | |
tree | a2f51ec51075611533ec774b4647fb3140895b48 /arch/x86/kernel/irqinit_32.c | |
parent | 22813c45228160b07244a7c4ed7580388ac0f33d (diff) |
x86: use identical loop constructs in 32-bit and 64-bit native_init_IRQ()
Impact: cleanup
Reviewed-by Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 9ba68c4557b1..1029a1855f98 100644 --- a/arch/x86/kernel/irqinit_32.c +++ b/arch/x86/kernel/irqinit_32.c | |||
@@ -205,7 +205,7 @@ void __init native_init_IRQ(void) | |||
205 | * us. (some of these will be overridden and become | 205 | * us. (some of these will be overridden and become |
206 | * 'special' SMP interrupts) | 206 | * 'special' SMP interrupts) |
207 | */ | 207 | */ |
208 | for (i = FIRST_EXTERNAL_VECTOR; i < NR_VECTORS; i++) { | 208 | for (i = FIRST_EXTERNAL_VECTOR; i < NR_VECTORS; i++) { |
209 | /* SYSCALL_VECTOR was reserved in trap_init. */ | 209 | /* SYSCALL_VECTOR was reserved in trap_init. */ |
210 | if (i != SYSCALL_VECTOR) | 210 | if (i != SYSCALL_VECTOR) |
211 | set_intr_gate(i, interrupt[i-FIRST_EXTERNAL_VECTOR]); | 211 | set_intr_gate(i, interrupt[i-FIRST_EXTERNAL_VECTOR]); |