Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46112
b: refs/heads/master
c: 24d5572
h: refs/heads/master
v: v3
  • Loading branch information
Yoichi Yuasa authored and Ralf Baechle committed Feb 6, 2007
1 parent d0def56 commit f07d611
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 70d21cdeef6331e67ed87262c894cd6601f0dccc
refs/heads/master: 24d55728dc96d2cb8f49064e012559300eb97610
16 changes: 8 additions & 8 deletions trunk/arch/mips/vr41xx/common/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,22 @@ asmlinkage void plat_irq_dispatch(void)
unsigned int pending = read_c0_cause() & read_c0_status() & ST0_IM;

if (pending & CAUSEF_IP7)
do_IRQ(7);
do_IRQ(TIMER_IRQ);
else if (pending & 0x7800) {
if (pending & CAUSEF_IP3)
irq_dispatch(3);
irq_dispatch(INT1_IRQ);
else if (pending & CAUSEF_IP4)
irq_dispatch(4);
irq_dispatch(INT2_IRQ);
else if (pending & CAUSEF_IP5)
irq_dispatch(5);
irq_dispatch(INT3_IRQ);
else if (pending & CAUSEF_IP6)
irq_dispatch(6);
irq_dispatch(INT4_IRQ);
} else if (pending & CAUSEF_IP2)
irq_dispatch(2);
irq_dispatch(INT0_IRQ);
else if (pending & CAUSEF_IP0)
do_IRQ(0);
do_IRQ(MIPS_SOFTINT0_IRQ);
else if (pending & CAUSEF_IP1)
do_IRQ(1);
do_IRQ(MIPS_SOFTINT1_IRQ);
else
spurious_interrupt();
}
Expand Down

0 comments on commit f07d611

Please sign in to comment.