powerpc: Use proper accessors for IRQ_* flags
[linux-drm-fsl-dcu.git] / arch / powerpc / kernel / irq.c
index 0a5570338b96c6bef5bdda5769e0c5be066b2cda..8f7da4402e9be8947e9a99095b2328197043fb96 100644 (file)
@@ -618,7 +618,7 @@ struct irq_host *irq_alloc_host(struct device_node *of_node,
                        smp_wmb();
 
                        /* Clear norequest flags */
-                       irq_to_desc(i)->status &= ~IRQ_NOREQUEST;
+                       irq_clear_status_flags(i, IRQ_NOREQUEST);
 
                        /* Legacy flags are left to default at this point,
                         * one can then use irq_create_mapping() to