Skip to content

Commit

Permalink
m68k/irq: Vector ints need a valid interrupt handler
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Bogendoerfer authored and Geert Uytterhoeven committed Jun 24, 2013
1 parent ddc2fc2 commit 378f7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68k/kernel/ints.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 378f7ca

Please sign in to comment.