Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212155
b: refs/heads/master
c: 21e2b8c
h: refs/heads/master
i:
  212153: 6d49fb6
  212151: 94056ac
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 4, 2010
1 parent 38e4d56 commit 1a75264
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 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: 2f7e99bb9be6a2d8d7b808dc86037710cc8b7bf1
refs/heads/master: 21e2b8c62cca8f7dbec0c8c131ca1637e4a5670f
7 changes: 7 additions & 0 deletions trunk/kernel/irq/chip.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,11 @@ static int compat_irq_set_wake(struct irq_data *data, unsigned int on)
return data->chip->set_wake(data->irq, on);
}

static int compat_irq_retrigger(struct irq_data *data)
{
return data->chip->retrigger(data->irq);
}

static void compat_bus_lock(struct irq_data *data)
{
data->chip->bus_lock(data->irq);
Expand Down Expand Up @@ -458,6 +463,8 @@ void irq_chip_set_defaults(struct irq_chip *chip)
chip->irq_set_type = compat_irq_set_type;
if (chip->set_wake)
chip->irq_set_wake = compat_irq_set_wake;
if (chip->retrigger)
chip->irq_retrigger = compat_irq_retrigger;
}

static inline void mask_ack_irq(struct irq_desc *desc)
Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/irq/resend.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ void check_irq_resend(struct irq_desc *desc, unsigned int irq)
if ((status & (IRQ_LEVEL | IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) {
desc->status = (status & ~IRQ_PENDING) | IRQ_REPLAY;

if (!desc->irq_data.chip->retrigger ||
!desc->irq_data.chip->retrigger(irq)) {
if (!desc->irq_data.chip->irq_retrigger ||
!desc->irq_data.chip->irq_retrigger(&desc->irq_data)) {
#ifdef CONFIG_HARDIRQS_SW_RESEND
/* Set it pending and activate the softirq: */
set_bit(irq, irqs_resend);
Expand Down

0 comments on commit 1a75264

Please sign in to comment.