genirq: Do not consider disabled wakeup irqs
authorThomas Gleixner <tglx@linutronix.de>
Fri, 4 May 2012 15:56:16 +0000 (17:56 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 4 May 2012 21:38:50 +0000 (23:38 +0200)
commit9c6079aa1bfcf7e14de10b824779ce39b679bcb8
tree4d2dd86804abbb95b12abe811cb2095ce7758349
parentd4dc0f90d243fb54cfbca6601c9a7c5a758e437f
genirq: Do not consider disabled wakeup irqs

If an wakeup interrupt has been disabled before the suspend code
disables all interrupts then we have to ignore the pending flag.

Otherwise we would abort suspend over and over as nothing clears the
pending flag because the interrupt is disabled.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: NeilBrown <neilb@suse.de>
kernel/irq/pm.c