diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index b7117e81ac56b57e6f634275388c0370450abc9c..e3a122931e1a753578f176665dad165dceb6363c 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -236,7 +236,8 @@ int setup_irq(unsigned int irq, struct irqaction *new) #if defined(CONFIG_IRQ_PER_CPU) && defined(SA_PERCPU_IRQ) /* All handlers must agree on per-cpuness */ - if ((old->flags & IRQ_PER_CPU) != (new->flags & IRQ_PER_CPU)) + if ((old->flags & SA_PERCPU_IRQ) != + (new->flags & SA_PERCPU_IRQ)) goto mismatch; #endif