mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
um: irq: Fix LAST_IRQ usage in init_IRQ()
LAST_IRQ was used incorrectly in init_IRQ. Commit09ccf0364cforgot 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 <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Acked-by: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
This commit is contained in:
parent
f2f4bf5aab
commit
73625ed663
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue