|
@@ -132,11 +132,11 @@ void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action)
|
|
wake_up_process(action->thread);
|
|
wake_up_process(action->thread);
|
|
}
|
|
}
|
|
|
|
|
|
-irqreturn_t
|
|
|
|
-handle_irq_event_percpu(struct irq_desc *desc, struct irqaction *action)
|
|
|
|
|
|
+irqreturn_t handle_irq_event_percpu(struct irq_desc *desc)
|
|
{
|
|
{
|
|
irqreturn_t retval = IRQ_NONE;
|
|
irqreturn_t retval = IRQ_NONE;
|
|
unsigned int flags = 0, irq = desc->irq_data.irq;
|
|
unsigned int flags = 0, irq = desc->irq_data.irq;
|
|
|
|
+ struct irqaction *action = desc->action;
|
|
|
|
|
|
do {
|
|
do {
|
|
irqreturn_t res;
|
|
irqreturn_t res;
|
|
@@ -184,14 +184,13 @@ handle_irq_event_percpu(struct irq_desc *desc, struct irqaction *action)
|
|
|
|
|
|
irqreturn_t handle_irq_event(struct irq_desc *desc)
|
|
irqreturn_t handle_irq_event(struct irq_desc *desc)
|
|
{
|
|
{
|
|
- struct irqaction *action = desc->action;
|
|
|
|
irqreturn_t ret;
|
|
irqreturn_t ret;
|
|
|
|
|
|
desc->istate &= ~IRQS_PENDING;
|
|
desc->istate &= ~IRQS_PENDING;
|
|
irqd_set(&desc->irq_data, IRQD_IRQ_INPROGRESS);
|
|
irqd_set(&desc->irq_data, IRQD_IRQ_INPROGRESS);
|
|
raw_spin_unlock(&desc->lock);
|
|
raw_spin_unlock(&desc->lock);
|
|
|
|
|
|
- ret = handle_irq_event_percpu(desc, action);
|
|
|
|
|
|
+ ret = handle_irq_event_percpu(desc);
|
|
|
|
|
|
raw_spin_lock(&desc->lock);
|
|
raw_spin_lock(&desc->lock);
|
|
irqd_clear(&desc->irq_data, IRQD_IRQ_INPROGRESS);
|
|
irqd_clear(&desc->irq_data, IRQD_IRQ_INPROGRESS);
|