powerpc: Use proper accessors for IRQ_* flags
[linux-drm-fsl-dcu.git] / arch / powerpc / platforms / pseries / xics.c
index 01fea46c03353b63a154c6b6441e9725d3d21298..f4bf8a932fefe2d85caed5014440188c9eafa5e9 100644 (file)
@@ -470,7 +470,7 @@ static int xics_host_map(struct irq_host *h, unsigned int virq,
        /* Insert the interrupt mapping into the radix tree for fast lookup */
        irq_radix_revmap_insert(xics_host, virq, hw);
 
-       irq_to_desc(virq)->status |= IRQ_LEVEL;
+       irq_set_status_flags(virq, IRQ_LEVEL);
        set_irq_chip_and_handler(virq, xics_irq_chip, handle_fasteoi_irq);
        return 0;
 }