summaryrefslogtreecommitdiffstats
path: root/kernel/irq/pm.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-08 12:17:57 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-02-19 12:58:17 +0100
commit2a0d6fb335d4428285dab2d254911748e6040807 (patch)
tree16090086899df6886436b89cc76e6d0d5b36d083 /kernel/irq/pm.c
parentc1594b77e46124bb462f961e536120e471c67446 (diff)
downloadblackbird-op-linux-2a0d6fb335d4428285dab2d254911748e6040807.tar.gz
blackbird-op-linux-2a0d6fb335d4428285dab2d254911748e6040807.zip
genirq: Move IRQ_PENDING flag to core
Keep status in sync until all users are fixed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/pm.c')
-rw-r--r--kernel/irq/pm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/irq/pm.c b/kernel/irq/pm.c
index d6bfb89cce91..d7389418e91a 100644
--- a/kernel/irq/pm.c
+++ b/kernel/irq/pm.c
@@ -69,7 +69,8 @@ int check_wakeup_irqs(void)
int irq;
for_each_irq_desc(irq, desc)
- if ((desc->status & IRQ_WAKEUP) && (desc->status & IRQ_PENDING))
+ if ((desc->status & IRQ_WAKEUP) &&
+ (desc->istate & IRQS_PENDING))
return -EBUSY;
return 0;
OpenPOWER on IntegriCloud