]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
genirq: Move MASK_ON_SUSPEND handling into suspend_device_irqs()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 28 Aug 2014 14:49:43 +0000 (16:49 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Sep 2014 11:48:21 +0000 (13:48 +0200)
commit092fadd59b50208f6859f89dd7ea84e03955b544
tree7266c77f62a4e69d93ba110d14f7e3e76df1071d
parent5417de222393164b87b2d142b6ec332be40a2564
genirq: Move MASK_ON_SUSPEND handling into suspend_device_irqs()

There is no reason why we should delay the masking of interrupts whose
interrupt chip requests MASK_ON_SUSPEND to the point where we check
the wakeup interrupts. We can do it right at the point where we mark
the interrupt as suspended.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/irq/pm.c