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: NThomas Gleixner <tglx@linutronix.de>
Cc: NeilBrown <neilb@suse.de>
Showing
想要评论请 注册 或 登录