Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260367
b: refs/heads/master
c: 1544129
h: refs/heads/master
i:
  260365: c7e401a
  260363: 260c911
  260359: 4567928
  260351: 69d4438
v: v3
  • Loading branch information
Thomas Gleixner authored and Ralf Baechle committed Jul 20, 2011
1 parent e8108e8 commit 3b72b76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 56eccc36dd8888f44c1de24c52b150adbf8ec427
refs/heads/master: 1544129da2de9fa276429deed8fac3fbc45634be
8 changes: 8 additions & 0 deletions trunk/arch/mips/sibyte/sb1250/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ static int sb1250_set_affinity(struct irq_data *d, const struct cpumask *mask,
}
#endif

static void disable_sb1250_irq(struct irq_data *d)
{
unsigned int irq = d->irq;

sb1250_mask_irq(sb1250_irq_owner[irq], irq);
}

static void enable_sb1250_irq(struct irq_data *d)
{
unsigned int irq = d->irq;
Expand Down Expand Up @@ -180,6 +187,7 @@ static struct irq_chip sb1250_irq_type = {
.name = "SB1250-IMR",
.irq_mask_ack = ack_sb1250_irq,
.irq_unmask = enable_sb1250_irq,
.irq_mask = disable_sb1250_irq,
#ifdef CONFIG_SMP
.irq_set_affinity = sb1250_set_affinity
#endif
Expand Down

0 comments on commit 3b72b76

Please sign in to comment.