search for: compat_irq_chip_set_default_handl

Displaying 1 result from an estimated 1 matches for "compat_irq_chip_set_default_handl".

2011 Feb 16
8
[PATCH] irq: Exclude percpu IRQs from being fixed up
...n_lock(&desc->lock); diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index f34e231..26bc55a 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -727,10 +727,9 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new) goto out_thread; } else compat_irq_chip_set_default_handler(desc); -#if defined(CONFIG_IRQ_PER_CPU) + if (new->flags & IRQF_PERCPU) desc->status |= IRQ_PER_CPU; -#endif desc->status &= ~(IRQ_AUTODETECT | IRQ_WAITING | IRQ_ONESHOT | IRQ_INPROGRESS | IRQ_SPURIOUS_DISABLED); ______________________________________________...