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 9200a1e2752d..65c1c9507707 100644 --- a/arch/x86/kernel/irqinit_32.c +++ b/arch/x86/kernel/irqinit_32.c | |||
@@ -100,7 +100,7 @@ void __init native_init_IRQ(void) | |||
100 | */ | 100 | */ |
101 | for (i = 0; i < (NR_VECTORS - FIRST_EXTERNAL_VECTOR); i++) { | 101 | for (i = 0; i < (NR_VECTORS - FIRST_EXTERNAL_VECTOR); i++) { |
102 | int vector = FIRST_EXTERNAL_VECTOR + i; | 102 | int vector = FIRST_EXTERNAL_VECTOR + i; |
103 | if (i >= NR_IRQS) | 103 | if (i >= nr_irqs) |
104 | break; | 104 | break; |
105 | /* SYSCALL_VECTOR was reserved in trap_init. */ | 105 | /* SYSCALL_VECTOR was reserved in trap_init. */ |
106 | if (!test_bit(vector, used_vectors)) | 106 | if (!test_bit(vector, used_vectors)) |