Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242446
b: refs/heads/master
c: db00bed
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Ralf Baechle committed Mar 25, 2011
1 parent 6f39b28 commit 2f5c52a
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 90a568f7bb9eab60958d47903f4c655cd9935148
refs/heads/master: db00bed4baa8951b579519e90d8d7f215db2827a
14 changes: 6 additions & 8 deletions trunk/arch/mips/jazz/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@

static DEFINE_RAW_SPINLOCK(r4030_lock);

static void enable_r4030_irq(unsigned int irq)
static void enable_r4030_irq(struct irq_data *d)
{
unsigned int mask = 1 << (irq - JAZZ_IRQ_START);
unsigned int mask = 1 << (d->irq - JAZZ_IRQ_START);
unsigned long flags;

raw_spin_lock_irqsave(&r4030_lock, flags);
Expand All @@ -34,9 +34,9 @@ static void enable_r4030_irq(unsigned int irq)
raw_spin_unlock_irqrestore(&r4030_lock, flags);
}

void disable_r4030_irq(unsigned int irq)
void disable_r4030_irq(struct irq_data *d)
{
unsigned int mask = ~(1 << (irq - JAZZ_IRQ_START));
unsigned int mask = ~(1 << (d->irq - JAZZ_IRQ_START));
unsigned long flags;

raw_spin_lock_irqsave(&r4030_lock, flags);
Expand All @@ -47,10 +47,8 @@ void disable_r4030_irq(unsigned int irq)

static struct irq_chip r4030_irq_type = {
.name = "R4030",
.ack = disable_r4030_irq,
.mask = disable_r4030_irq,
.mask_ack = disable_r4030_irq,
.unmask = enable_r4030_irq,
.irq_mask = disable_r4030_irq,
.irq_unmask = enable_r4030_irq,
};

void __init init_r4030_ints(void)
Expand Down

0 comments on commit 2f5c52a

Please sign in to comment.