Skip to content

Commit

Permalink
sh: show held locks in stack trace with lockdep.
Browse files Browse the repository at this point in the history
Follows the same change as other architectures..

Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
pmundt committed Dec 6, 2006
1 parent 0c020e3 commit 9b8c90e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/sh/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <linux/module.h>
#include <linux/kallsyms.h>
#include <linux/io.h>
#include <linux/debug_locks.h>
#include <asm/system.h>
#include <asm/uaccess.h>

Expand Down Expand Up @@ -872,6 +873,11 @@ void show_trace(struct task_struct *tsk, unsigned long *sp,
}

printk("\n");

if (!tsk)
tsk = current;

debug_show_held_locks(tsk);
}

void show_stack(struct task_struct *tsk, unsigned long *sp)
Expand Down

0 comments on commit 9b8c90e

Please sign in to comment.