powerpc: Use proper accessors for IRQ_* flags
Use the proper accessors instead of open access to irq_desc. Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -244,9 +244,9 @@ void uic_irq_cascade(unsigned int virq, struct irq_desc *desc)
|
||||
|
||||
uic_irq_ret:
|
||||
raw_spin_lock(&desc->lock);
|
||||
if (desc->status & IRQ_LEVEL)
|
||||
if (irqd_is_level_type(&desc->irq_data))
|
||||
chip->irq_ack(&desc->irq_data);
|
||||
if (!(desc->status & IRQ_DISABLED) && chip->irq_unmask)
|
||||
if (!(irq_is_disabled(&desc->irq_data) && chip->irq_unmask)
|
||||
chip->irq_unmask(&desc->irq_data);
|
||||
raw_spin_unlock(&desc->lock);
|
||||
}
|
||||
|
Reference in New Issue
Block a user