m68k/irq: Vector ints need a valid interrupt handler
To get vectored interrupts working we need to switch from the default handler handle_bad_irq() to something more sensible. Tested on a MVME177 board. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
parent
ddc2fc2c5b
commit
378f7ca6aa
|
@ -101,7 +101,7 @@ void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt)
|
||||||
BUG_ON(IRQ_USER + cnt > NR_IRQS);
|
BUG_ON(IRQ_USER + cnt > NR_IRQS);
|
||||||
m68k_first_user_vec = vec;
|
m68k_first_user_vec = vec;
|
||||||
for (i = 0; i < cnt; i++)
|
for (i = 0; i < cnt; i++)
|
||||||
irq_set_chip(IRQ_USER + i, &user_irq_chip);
|
irq_set_chip_and_handler(i, &user_irq_chip, handle_simple_irq);
|
||||||
*user_irqvec_fixup = vec - IRQ_USER;
|
*user_irqvec_fixup = vec - IRQ_USER;
|
||||||
flush_icache();
|
flush_icache();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue