]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: print module list in the "scheduling while atomic" warning
authorArjan van de Ven <arjan@linux.intel.com>
Fri, 23 May 2008 16:05:58 +0000 (09:05 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Jun 2008 13:19:37 +0000 (15:19 +0200)
commite21f5b153b9b4a6775d7d41964e372e13a9178ab
tree2d57f30acb571f474ea1dc1c902882e01d4c8670
parentc7aceaba042702538b23cf4e0de1b2891ad8e671
sched: print module list in the "scheduling while atomic" warning

For the normal WARN_ON() etc we added a print-the-modules-list already,
which is very useful to figure out candidates for certain types of bugs.

This patch adds the same print to the "scheduling while atomic" BUG warning,
for the same reason: when we get here it's very useful to see which modules
are loaded, to narrow down the candidate code list.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: mingo@elte.hu
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/sched.c