From: Thomas Gleixner Date: Fri, 22 Oct 2010 12:47:57 +0000 (+0200) Subject: genirq: Warn if enable_irq is called before irq is set up X-Git-Tag: v2.6.37-rc1~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2656c36699677238edc9ec1fea79039f1fddbcb6;p=pandora-kernel.git 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 Cc: Richard Weinberger --- Reading git-diff-tree failed