aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/handle.c')
-rw-r--r--kernel/irq/handle.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c
index 517561fc7317..1a2fb77f2fd6 100644
--- a/kernel/irq/handle.c
+++ b/kernel/irq/handle.c
@@ -178,25 +178,13 @@ irqreturn_t handle_irq_event(struct irq_desc *desc)
178 irq_compat_clr_pending(desc); 178 irq_compat_clr_pending(desc);
179 desc->istate &= ~IRQS_PENDING; 179 desc->istate &= ~IRQS_PENDING;
180 irq_compat_set_progress(desc); 180 irq_compat_set_progress(desc);
181 desc->istate |= IRQS_INPROGRESS; 181 irqd_set(&desc->irq_data, IRQD_IRQ_INPROGRESS);
182 raw_spin_unlock(&desc->lock); 182 raw_spin_unlock(&desc->lock);
183 183
184 ret = handle_irq_event_percpu(desc, action); 184 ret = handle_irq_event_percpu(desc, action);
185 185
186 raw_spin_lock(&desc->lock); 186 raw_spin_lock(&desc->lock);
187 desc->istate &= ~IRQS_INPROGRESS; 187 irqd_clear(&desc->irq_data, IRQD_IRQ_INPROGRESS);
188 irq_compat_clr_progress(desc); 188 irq_compat_clr_progress(desc);
189 return ret; 189 return ret;
190} 190}
191
192/**
193 * handle_IRQ_event - irq action chain handler
194 * @irq: the interrupt number
195 * @action: the interrupt action chain for this irq
196 *
197 * Handles the action chain of an irq event
198 */
199irqreturn_t handle_IRQ_event(unsigned int irq, struct irqaction *action)
200{
201 return handle_irq_event_percpu(irq_to_desc(irq), action);
202}