Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182024
b: refs/heads/master
c: f1fc664
h: refs/heads/master
v: v3
  • Loading branch information
Manuel Lauss authored and Ralf Baechle committed Feb 27, 2010
1 parent 3b019d1 commit 5353d95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 788144656b8a862e724a1296e64ab6375eb541ed
refs/heads/master: f1fc6645a4d2cb944320ce8ed1e40f88059779e1
8 changes: 5 additions & 3 deletions trunk/arch/mips/alchemy/common/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ asmlinkage void plat_irq_dispatch(void)
unsigned long s, off;

if (pending & CAUSEF_IP7) {
do_IRQ(MIPS_CPU_IRQ_BASE + 7);
return;
off = MIPS_CPU_IRQ_BASE + 7;
goto handle;
} else if (pending & CAUSEF_IP2) {
s = IC0_REQ0INT;
off = AU1000_INTC0_INT_BASE;
Expand All @@ -542,7 +542,9 @@ asmlinkage void plat_irq_dispatch(void)
spurious_interrupt();
return;
}
do_IRQ(__ffs(s) + off);
off += __ffs(s);
handle:
do_IRQ(off);
}

/* setup edge/level and assign request 0/1 */
Expand Down

0 comments on commit 5353d95

Please sign in to comment.