m68k: Correct number of interrupts for Sun3
authorSam Creasey <sammy@sammy.net>
Tue, 1 May 2007 20:32:47 +0000 (22:32 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 5 May 2007 00:59:06 +0000 (17:59 -0700)
Only attempt to initialize the amount of interrupts a sun3 actually has...

Signed-off-by: Sam Creasey <sammy@sammy.net>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68k/sun3/sun3ints.c

index baf74e8de8b5ce1b7790731955b9ee713540ab29..4232a2c2fae9b1810fbf33470ed793ff69f42ce1 100644 (file)
@@ -103,7 +103,7 @@ void sun3_init_IRQ(void)
 
        m68k_setup_auto_interrupt(sun3_inthandle);
        m68k_setup_irq_controller(&sun3_irq_controller, IRQ_AUTO_1, 7);
-       m68k_setup_user_interrupt(VEC_USER, 192, NULL);
+       m68k_setup_user_interrupt(VEC_USER, 128, NULL);
 
        request_irq(IRQ_AUTO_5, sun3_int5, 0, "int5", NULL);
        request_irq(IRQ_AUTO_7, sun3_int7, 0, "int7", NULL);