Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231322
b: refs/heads/master
c: 465b407
h: refs/heads/master
v: v3
  • Loading branch information
Lennert Buytenhek committed Jan 13, 2011
1 parent 93ec08a commit c0da011
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: 418c9904d3353f9d33f37d045975fed5d0ff1a81
refs/heads/master: 465b40794c29497d93bc590f119e6e033b6d48d5
16 changes: 8 additions & 8 deletions trunk/arch/arm/mach-iop32x/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@ static void intstr_write(u32 val)
}

static void
iop32x_irq_mask(unsigned int irq)
iop32x_irq_mask(struct irq_data *d)
{
iop32x_mask &= ~(1 << irq);
iop32x_mask &= ~(1 << d->irq);
intctl_write(iop32x_mask);
}

static void
iop32x_irq_unmask(unsigned int irq)
iop32x_irq_unmask(struct irq_data *d)
{
iop32x_mask |= 1 << irq;
iop32x_mask |= 1 << d->irq;
intctl_write(iop32x_mask);
}

struct irq_chip ext_chip = {
.name = "IOP32x",
.ack = iop32x_irq_mask,
.mask = iop32x_irq_mask,
.unmask = iop32x_irq_unmask,
.name = "IOP32x",
.irq_ack = iop32x_irq_mask,
.irq_mask = iop32x_irq_mask,
.irq_unmask = iop32x_irq_unmask,
};

void __init iop32x_init_irq(void)
Expand Down

0 comments on commit c0da011

Please sign in to comment.