diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-25 17:43:57 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 16:48:08 +0400 |
commit | 98488db9ff01849354bffb6a9675b1cc2ecf03fd (patch) | |
tree | 7cf778f481f55354a7f93130cde450479d03a50a /arch/powerpc/sysdev/mv64x60_pic.c | |
parent | 68f20f43dae770bdb3d93cfb8fbe9679d3568c3b (diff) | |
download | linux-98488db9ff01849354bffb6a9675b1cc2ecf03fd.tar.xz |
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/sysdev/mv64x60_pic.c')
-rw-r--r-- | arch/powerpc/sysdev/mv64x60_pic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/mv64x60_pic.c b/arch/powerpc/sysdev/mv64x60_pic.c index bc61ebb8987c..c43e9bcff9f0 100644 --- a/arch/powerpc/sysdev/mv64x60_pic.c +++ b/arch/powerpc/sysdev/mv64x60_pic.c @@ -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); |