Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 236257ee authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

[S390] lockdep: show held locks when showing a stackdump



Follow i386/x86_64:
lockdep can be used to print held locks when printing a
backtrace. This can be useful when debugging things like
'scheduling while atomic' asserts.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 59f35d53
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -151,6 +151,9 @@ void show_trace(struct task_struct *task, unsigned long * stack)
		__show_trace(sp, S390_lowcore.thread_info,
			     S390_lowcore.thread_info + THREAD_SIZE);
	printk("\n");
	if (!task)
		task = current;
	debug_show_held_locks(task);
}

void show_stack(struct task_struct *task, unsigned long *sp)