genirq: Add sanity checks for PM options on shared interrupt lines
authorThomas Gleixner <tglx@linutronix.de>
Thu, 28 Aug 2014 09:44:31 +0000 (11:44 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Sep 2014 11:48:05 +0000 (13:48 +0200)
commitcab303be91dc47942bc25de33dc1140123540800
treefdfec3ef37665af47af9010419e8f1c2236b0e0f
parent8df2e02c5c4de9e65ee60153dd9c442356534ad9
genirq: Add sanity checks for PM options on shared interrupt lines

Account the IRQF_NO_SUSPEND and IRQF_RESUME_EARLY actions on shared
interrupt lines and yell loudly if there is a mismatch.

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