]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
m68k/irq: Vector ints need a valid interrupt handler
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 3 Jun 2013 10:53:01 +0000 (12:53 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 16 Jun 2013 12:02:26 +0000 (14:02 +0200)
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>
arch/m68k/kernel/ints.c

index 6b32b64bac35ffb7022d1a1cebcd7b971fc2fd3e..4d7da384eea03d5a1101859a5814c7dccce53a9e 100644 (file)
@@ -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();
 }