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:
@@ -175,12 +175,12 @@ static int i8259_host_map(struct irq_host *h, unsigned int virq,
|
||||
|
||||
/* We block the internal cascade */
|
||||
if (hw == 2)
|
||||
irq_to_desc(virq)->status |= IRQ_NOREQUEST;
|
||||
irq_set_status_flags(virq, IRQ_NOREQUEST);
|
||||
|
||||
/* We use the level handler only for now, we might want to
|
||||
* be more cautious here but that works for now
|
||||
*/
|
||||
irq_to_desc(virq)->status |= IRQ_LEVEL;
|
||||
irq_set_status_flags(virq, IRQ_LEVEL);
|
||||
set_irq_chip_and_handler(virq, &i8259_pic, handle_level_irq);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user