genirq: Move IRQ_WAKEUP to core

No users outside of core.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner
2011-02-08 14:34:18 +01:00
parent c531e8361f
commit 6d2cd17fde
4 changed files with 7 additions and 3 deletions

View File

@@ -489,7 +489,7 @@ int irq_set_irq_wake(unsigned int irq, unsigned int on)
if (ret)
desc->wake_depth = 0;
else
desc->status |= IRQ_WAKEUP;
desc->istate |= IRQS_WAKEUP;
}
} else {
if (desc->wake_depth == 0) {
@@ -499,7 +499,7 @@ int irq_set_irq_wake(unsigned int irq, unsigned int on)
if (ret)
desc->wake_depth = 1;
else
desc->status &= ~IRQ_WAKEUP;
desc->istate &= ~IRQS_WAKEUP;
}
}