aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2013-04-30 22:27:10 +0000
committerLinus Torvalds <[email protected]>2013-05-01 00:04:01 +0000
commit89e3f23da9c827bfa9806c3d4da83a12c1c8543a (patch)
treeb4eaba8afe11cf9cac42d0fd7cc5d49718a9c2d1 /lib/dump_stack.c
parentx86: don't show trace beyond show_stack(NULL, NULL) (diff)
downloadkernel-89e3f23da9c827bfa9806c3d4da83a12c1c8543a.tar.gz
kernel-89e3f23da9c827bfa9806c3d4da83a12c1c8543a.zip
sparc32: make show_stack() acquire %fp if @_ksp is not specified
show_stack(current or NULL, NULL) is used by arch-independent code to dump backtrace of the current task; however, sparc32 show_stack() doesn't implement it and wouldn't print any backtrace when NULL @_ksp is specfied. Make show_stack() acquire and use %fp if @tsk is NULL or current and @_ksp is NULL. This makes %fp fetching in dump_stack() unnecessary. Make it use NULL for @_ksp instead. Only compile tested. Signed-off-by: Tejun Heo <[email protected]> Acked-by: David S. Miller <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: Fengguang Wu <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Jesper Nilsson <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Mike Frysinger <[email protected]> Cc: Vineet Gupta <[email protected]> Cc: Sam Ravnborg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions