aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/softlockup.c
diff options
context:
space:
mode:
authorArjan van de Ven <arjan@linux.intel.com>2008-06-16 18:51:08 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-18 09:26:54 -0400
commit688c91755dc3d3c03d8c67c1df13c02be258768e (patch)
treee4966149b15a7ae21da1aa7a448ed57c342440f3 /kernel/softlockup.c
parent8bbd54d69e9c66adbf544e21d8dcfb15fb9198f7 (diff)
softlockup: print a module list on being stuck
Most places in the kernel that go BUG: print a module list (which is very useful for doing statistics and finding patterns), however the softlockup detector does not do this yet. This patch adds the one line change to fix this gap. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/softlockup.c')
-rw-r--r--kernel/softlockup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/softlockup.c b/kernel/softlockup.c
index 6b682d86bddf..f2bf5decb108 100644
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -143,6 +143,7 @@ void softlockup_tick(void)
143 printk(KERN_ERR "BUG: soft lockup - CPU#%d stuck for %lus! [%s:%d]\n", 143 printk(KERN_ERR "BUG: soft lockup - CPU#%d stuck for %lus! [%s:%d]\n",
144 this_cpu, now - touch_timestamp, 144 this_cpu, now - touch_timestamp,
145 current->comm, task_pid_nr(current)); 145 current->comm, task_pid_nr(current));
146 print_modules();
146 if (regs) 147 if (regs)
147 show_regs(regs); 148 show_regs(regs);
148 else 149 else