summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-25 15:43:57 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-03-29 14:48:08 +0200
commit98488db9ff01849354bffb6a9675b1cc2ecf03fd (patch)
tree7cf778f481f55354a7f93130cde450479d03a50a /arch/powerpc/platforms/pseries
parent68f20f43dae770bdb3d93cfb8fbe9679d3568c3b (diff)
downloadblackbird-op-linux-98488db9ff01849354bffb6a9675b1cc2ecf03fd.tar.gz
blackbird-op-linux-98488db9ff01849354bffb6a9675b1cc2ecf03fd.zip
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>
Diffstat (limited to 'arch/powerpc/platforms/pseries')
-rw-r--r--arch/powerpc/platforms/pseries/xics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/xics.c b/arch/powerpc/platforms/pseries/xics.c
index 01fea46c0335..f4bf8a932fef 100644
--- a/arch/powerpc/platforms/pseries/xics.c
+++ b/arch/powerpc/platforms/pseries/xics.c
@@ -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;
}
OpenPOWER on IntegriCloud