aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-10-22 14:47:57 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-10-22 16:10:29 +0200
commit2656c36699677238edc9ec1fea79039f1fddbcb6 (patch)
tree4fd8b68709598b5c581b3792ad2fc7481be76e12 /include/linux/irq.h
parentMerge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (diff)
downloadlinux-dev-2656c36699677238edc9ec1fea79039f1fddbcb6.tar.xz
linux-dev-2656c36699677238edc9ec1fea79039f1fddbcb6.zip
genirq: Warn if enable_irq is called before irq is set up
The recent changes in the genirq core unearthed a bug in arch/um which called enable_irq() before the interrupt was set up. Warn and return instead of crashing the machine with a NULL pointer dereference. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include/linux/irq.h')
0 files changed, 0 insertions, 0 deletions