mirror of
https://github.com/torvalds/linux.git
synced 2024-12-31 23:31:29 +00:00
um: irq: Fix LAST_IRQ usage in init_IRQ()
LAST_IRQ was used incorrectly in init_IRQ. Commit09ccf0364c
forgot to update the for loop. Fix this. Fixes:49da7e64f3
("High Performance UML Vector Network Driver") Fixes:09ccf0364c
("um: Fix off by one error in IRQ enumeration") Signed-off-by: Erel Geron <erelx.geron@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-by: Anton Ivanov <anton.ivanov@cambridgegreys.co.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
f2f4bf5aab
commit
73625ed663
@ -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 <= LAST_IRQ; i++)
|
||||
irq_set_chip_and_handler(i, &normal_irq_type, handle_edge_irq);
|
||||
/* Initialize EPOLL Loop */
|
||||
os_setup_epoll();
|
||||
|
Loading…
Reference in New Issue
Block a user