Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 378f7ca6 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer Committed by Geert Uytterhoeven
Browse files

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: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent ddc2fc2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt)
	BUG_ON(IRQ_USER + cnt > NR_IRQS);
	m68k_first_user_vec = vec;
	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;
	flush_icache();
}