LoongArch: Clean up the architectural interrupt definitions
[linux-2.6-microblaze.git] / arch / loongarch / kernel / traps.c
index de8ebe2..3fb4709 100644 (file)
@@ -792,7 +792,7 @@ void __init trap_init(void)
        long i;
 
        /* Set interrupt vector handler */
-       for (i = EXCCODE_INT_START; i < EXCCODE_INT_END; i++)
+       for (i = EXCCODE_INT_START; i <= EXCCODE_INT_END; i++)
                set_handler(i * VECSIZE, handle_vint, VECSIZE);
 
        set_handler(EXCCODE_ADE * VECSIZE, handle_ade, VECSIZE);