Skip to content

Commit

Permalink
m68k: Correct number of interrupts for Sun3
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sam Creasey authored and Linus Torvalds committed May 5, 2007
1 parent d6713b4 commit 35bdd52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/m68k/sun3/sun3ints.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 35bdd52

Please sign in to comment.