Revert "um: irq: don't set the chip for all irqs"

This reverts commit 1987b1b8f9.

Reason: Broke UML used by kernel_tests

Bug: 139897923
Change-Id: If3541721fdca7cf6d77410309ae5b503b5a848d0
Signed-off-by: Alistair Delva <adelva@google.com>
This commit is contained in:
Alistair Delva 2019-08-22 16:53:19 -07:00
parent cdecefc7c6
commit ea22c34864
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ void __init init_IRQ(void)
irq_set_chip_and_handler(TIMER_IRQ, &SIGVTALRM_irq_type, handle_edge_irq);
for (i = 1; i < LAST_IRQ; i++)
for (i = 1; i < NR_IRQS; i++)
irq_set_chip_and_handler(i, &normal_irq_type, handle_edge_irq);
/* Initialize EPOLL Loop */
os_setup_epoll();