diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-02-10 19:46:26 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-19 12:58:22 +0100 |
commit | 7f94226f03299f1ca32f118f02f2a0295e0e5e93 (patch) | |
tree | 049a83a3c264d4378f341991800c345bf4eeb5a5 /kernel/irq/pm.c | |
parent | d4d5e08960844a062da8387ee5f16ca7a33200d0 (diff) | |
download | op-kernel-dev-7f94226f03299f1ca32f118f02f2a0295e0e5e93.zip op-kernel-dev-7f94226f03299f1ca32f118f02f2a0295e0e5e93.tar.gz |
genirq: Move wakeup state to irq_data
Some irq_chips need to know the state of wakeup mode for
setting the trigger type etc. Reflect it in irq_data state.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq/pm.c')
-rw-r--r-- | kernel/irq/pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/pm.c b/kernel/irq/pm.c index f39383d..1329f0e 100644 --- a/kernel/irq/pm.c +++ b/kernel/irq/pm.c @@ -69,7 +69,7 @@ int check_wakeup_irqs(void) int irq; for_each_irq_desc(irq, desc) - if ((desc->istate & IRQS_WAKEUP) && + if (irqd_is_wakeup_set(&desc->irq_data) && (desc->istate & IRQS_PENDING)) return -EBUSY; |