Commit 73625ed6 authored by Erel Geron's avatar Erel Geron Committed by Richard Weinberger

um: irq: Fix LAST_IRQ usage in init_IRQ()

LAST_IRQ was used incorrectly in init_IRQ.
Commit 09ccf036 forgot to update the for loop.
Fix this.

Fixes: 49da7e64 ("High Performance UML Vector Network Driver")
Fixes: 09ccf036 ("um: Fix off by one error in IRQ enumeration")
Signed-off-by: default avatarErel Geron <erelx.geron@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Acked-by: default avatarAnton Ivanov <anton.ivanov@cambridgegreys.co.uk>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent f2f4bf5a
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment