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:
@@ -213,7 +213,7 @@ static int mv64x60_host_map(struct irq_host *h, unsigned int virq,
|
||||
{
|
||||
int level1;
|
||||
|
||||
irq_to_desc(virq)->status |= IRQ_LEVEL;
|
||||
irq_set_status_flags(virq, IRQ_LEVEL);
|
||||
|
||||
level1 = (hwirq & MV64x60_LEVEL1_MASK) >> MV64x60_LEVEL1_OFFSET;
|
||||
BUG_ON(level1 > MV64x60_LEVEL1_GPP);
|
||||
|
Reference in New Issue
Block a user