diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-08 12:17:57 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 12:58:17 +0100 |
commit | 2a0d6fb335d4428285dab2d254911748e6040807 (patch) | |
tree | 16090086899df6886436b89cc76e6d0d5b36d083 /kernel/irq/pm.c | |
parent | genirq: Move IRQ_DISABLED to core (diff) | |
download | linux-2a0d6fb335d4428285dab2d254911748e6040807.tar.xz 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.c | 3 |
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; |