Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181177
b: refs/heads/master
c: b06ede8
h: refs/heads/master
i:
  181175: fb5e89e
v: v3
  • Loading branch information
Paul Mundt committed Feb 5, 2010
1 parent ad09cd3 commit 7c3a9a1
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 3b0be1a4f2f7d8280574aa6e5eac2dd3dd57e2b7
refs/heads/master: b06ede84dd1473dec7c6af03a41c8d04d2fee437
13 changes: 5 additions & 8 deletions trunk/arch/sh/cchips/hd6446x/hd64461.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,15 @@ static struct irq_chip hd64461_irq_chip = {
static void hd64461_irq_demux(unsigned int irq, struct irq_desc *desc)
{
unsigned short intv = __raw_readw(HD64461_NIRR);
struct irq_desc *ext_desc;
unsigned int ext_irq = HD64461_IRQBASE;

intv &= (1 << HD64461_IRQ_NUM) - 1;

while (intv) {
if (intv & 1) {
ext_desc = irq_desc + ext_irq;
handle_level_irq(ext_irq, ext_desc);
}
intv >>= 1;
ext_irq++;
for (; intv; intv >>= 1, ext_irq++) {
if (!(intv & 1))
continue;

generic_handle_irq(ext_irq);
}
}

Expand Down

0 comments on commit 7c3a9a1

Please sign in to comment.