aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/handle.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-08 06:17:57 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 06:58:17 -0500
commit2a0d6fb335d4428285dab2d254911748e6040807 (patch)
tree16090086899df6886436b89cc76e6d0d5b36d083 /kernel/irq/handle.c
parentc1594b77e46124bb462f961e536120e471c67446 (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/handle.c')
-rw-r--r--kernel/irq/handle.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index d4ae0b1ccc00..6e34bdbeb26a 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -122,7 +122,8 @@ irqreturn_t handle_irq_event(struct irq_desc *desc)
122 struct irqaction *action = desc->action; 122 struct irqaction *action = desc->action;
123 irqreturn_t ret; 123 irqreturn_t ret;
124 124
125 desc->status &= ~IRQ_PENDING; 125 irq_compat_clr_pending(desc);
126 desc->istate &= ~IRQS_PENDING;
126 irq_compat_set_progress(desc); 127 irq_compat_set_progress(desc);
127 desc->istate |= IRQS_INPROGRESS; 128 desc->istate |= IRQS_INPROGRESS;
128 raw_spin_unlock(&desc->lock); 129 raw_spin_unlock(&desc->lock);