diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-08 06:17:57 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 06:58:17 -0500 |
commit | 2a0d6fb335d4428285dab2d254911748e6040807 (patch) | |
tree | 16090086899df6886436b89cc76e6d0d5b36d083 /kernel/irq/manage.c | |
parent | c1594b77e46124bb462f961e536120e471c67446 (diff) |
genirq: Move IRQ_PENDING flag to core
Keep status in sync until all users are fixed.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 77ff275b54cf..ac060814a787 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -714,10 +714,11 @@ static int irq_thread(void *data) | |||
714 | * CHECKME: We might need a dedicated | 714 | * CHECKME: We might need a dedicated |
715 | * IRQ_THREAD_PENDING flag here, which | 715 | * IRQ_THREAD_PENDING flag here, which |
716 | * retriggers the thread in check_irq_resend() | 716 | * retriggers the thread in check_irq_resend() |
717 | * but AFAICT IRQ_PENDING should be fine as it | 717 | * but AFAICT IRQS_PENDING should be fine as it |
718 | * retriggers the interrupt itself --- tglx | 718 | * retriggers the interrupt itself --- tglx |
719 | */ | 719 | */ |
720 | desc->status |= IRQ_PENDING; | 720 | irq_compat_set_pending(desc); |
721 | desc->istate |= IRQS_PENDING; | ||
721 | raw_spin_unlock_irq(&desc->lock); | 722 | raw_spin_unlock_irq(&desc->lock); |
722 | } else { | 723 | } else { |
723 | raw_spin_unlock_irq(&desc->lock); | 724 | raw_spin_unlock_irq(&desc->lock); |