]> git.karo-electronics.de Git - linux-beck.git/commit
genirq: Make warning in handle_percpu_event useful
authorThomas Gleixner <tglx@linutronix.de>
Fri, 25 Feb 2011 16:17:18 +0000 (17:17 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 25 Feb 2011 16:17:18 +0000 (17:17 +0100)
commit1204e95689f9fbd245a4ce5c1b0cd0a9b77f8d25
tree7dafda97ffb9156853904873c1397ac2d2b5b9d7
parentfd4afaf33313d94f548cb09129ecba3dbab62931
genirq: Make warning in handle_percpu_event useful

The WARN_ON_ONCE in handle_percpu_event() which emits a warning when
an action handler returns with interrupts enabled is not really
useful. It does not reveal the interrupt number and handler function
which caused it. Make it WARN_ONCE() and add the information.

Reported-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/irq/handle.c