Merge branch 'omap-for-v5.2/ti-sysc' into fixes
[linux-2.6-microblaze.git] / arch / um / kernel / irq.c
index f4874b7..598d7b3 100644 (file)
@@ -479,7 +479,7 @@ void __init init_IRQ(void)
        irq_set_chip_and_handler(TIMER_IRQ, &SIGVTALRM_irq_type, handle_edge_irq);
 
 
-       for (i = 1; i < NR_IRQS; i++)
+       for (i = 1; i < LAST_IRQ; i++)
                irq_set_chip_and_handler(i, &normal_irq_type, handle_edge_irq);
        /* Initialize EPOLL Loop */
        os_setup_epoll();