Loading kernel/irq/manage.c +2 −5 Original line number Diff line number Diff line Loading @@ -1076,12 +1076,9 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new) * set the trigger type must match. Also all must * agree on ONESHOT. */ #define IRQF_MISMATCH \ (IRQF_TRIGGER_MASK | IRQF_ONESHOT | IRQF_NO_SUSPEND) if (!((old->flags & new->flags) & IRQF_SHARED) || ((old->flags ^ new->flags) & IRQF_MISMATCH)) ((old->flags ^ new->flags) & IRQF_TRIGGER_MASK) || ((old->flags ^ new->flags) & IRQF_ONESHOT)) goto mismatch; /* All handlers must agree on per-cpuness */ Loading Loading
kernel/irq/manage.c +2 −5 Original line number Diff line number Diff line Loading @@ -1076,12 +1076,9 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new) * set the trigger type must match. Also all must * agree on ONESHOT. */ #define IRQF_MISMATCH \ (IRQF_TRIGGER_MASK | IRQF_ONESHOT | IRQF_NO_SUSPEND) if (!((old->flags & new->flags) & IRQF_SHARED) || ((old->flags ^ new->flags) & IRQF_MISMATCH)) ((old->flags ^ new->flags) & IRQF_TRIGGER_MASK) || ((old->flags ^ new->flags) & IRQF_ONESHOT)) goto mismatch; /* All handlers must agree on per-cpuness */ Loading