diff options
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r-- | kernel/irq/manage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index ca9b5d36abe8..8389d1817fe8 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
@@ -198,7 +198,7 @@ int setup_irq(unsigned int irq, struct irqaction *new) | |||
198 | if (!(old->flags & new->flags & SA_SHIRQ)) | 198 | if (!(old->flags & new->flags & SA_SHIRQ)) |
199 | goto mismatch; | 199 | goto mismatch; |
200 | 200 | ||
201 | #if defined(ARCH_HAS_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ) | 201 | #if defined(CONFIG_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ) |
202 | /* All handlers must agree on per-cpuness */ | 202 | /* All handlers must agree on per-cpuness */ |
203 | if ((old->flags & IRQ_PER_CPU) != (new->flags & IRQ_PER_CPU)) | 203 | if ((old->flags & IRQ_PER_CPU) != (new->flags & IRQ_PER_CPU)) |
204 | goto mismatch; | 204 | goto mismatch; |
@@ -213,7 +213,7 @@ int setup_irq(unsigned int irq, struct irqaction *new) | |||
213 | } | 213 | } |
214 | 214 | ||
215 | *p = new; | 215 | *p = new; |
216 | #if defined(ARCH_HAS_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ) | 216 | #if defined(CONFIG_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ) |
217 | if (new->flags & SA_PERCPU_IRQ) | 217 | if (new->flags & SA_PERCPU_IRQ) |
218 | desc->status |= IRQ_PER_CPU; | 218 | desc->status |= IRQ_PER_CPU; |
219 | #endif | 219 | #endif |