mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] genirq:fixup missing SA_PERCPU replacement
The irqflags consolidation converted SA_PERCPU_IRQ to IRQF_PERCPU but did not define the new constant. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
52e405eaa9
commit
284c66806e
2 changed files with 4 additions and 2 deletions
|
|
@ -234,7 +234,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
|
|||
((old->flags ^ new->flags) & IRQF_TRIGGER_MASK))
|
||||
goto mismatch;
|
||||
|
||||
#if defined(CONFIG_IRQ_PER_CPU) && defined(IRQF_PERCPU)
|
||||
#if defined(CONFIG_IRQ_PER_CPU)
|
||||
/* All handlers must agree on per-cpuness */
|
||||
if ((old->flags & IRQF_PERCPU) !=
|
||||
(new->flags & IRQF_PERCPU))
|
||||
|
|
@ -250,7 +250,7 @@ int setup_irq(unsigned int irq, struct irqaction *new)
|
|||
}
|
||||
|
||||
*p = new;
|
||||
#if defined(CONFIG_IRQ_PER_CPU) && defined(IRQF_PERCPU)
|
||||
#if defined(CONFIG_IRQ_PER_CPU)
|
||||
if (new->flags & IRQF_PERCPU)
|
||||
desc->status |= IRQ_PER_CPU;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue