summaryrefslogtreecommitdiffstats
path: root/arch/um/sys-x86_64/sysrq.c
diff options
context:
space:
mode:
authorPaolo 'Blaisorblade' Giarrusso2005-05-29 00:52:00 +0200
committerLinus Torvalds2005-05-29 01:46:13 +0200
commitb3461034d7d46455060c8476910be22b6b0fc313 (patch)
treed5ebcf803116eb3c5800189ebb065df28c994d07 /arch/um/sys-x86_64/sysrq.c
parent[PATCH] uml: split CONFIG_FRAME_POINTER from DEBUG_INFO (diff)
downloadkernel-qcow2-linux-b3461034d7d46455060c8476910be22b6b0fc313.tar.gz
kernel-qcow2-linux-b3461034d7d46455060c8476910be22b6b0fc313.tar.xz
kernel-qcow2-linux-b3461034d7d46455060c8476910be22b6b0fc313.zip
[PATCH] uml: stack dump fix
Copy (and adapt) to UML the stack code dumper used in i386 when CONFIG_FRAME_POINTER is enabled. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/sys-x86_64/sysrq.c')
-rw-r--r--arch/um/sys-x86_64/sysrq.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/um/sys-x86_64/sysrq.c b/arch/um/sys-x86_64/sysrq.c
index ddf74691a610..d0a25af19a5b 100644
--- a/arch/um/sys-x86_64/sysrq.c
+++ b/arch/um/sys-x86_64/sysrq.c
@@ -36,14 +36,5 @@ void __show_regs(struct pt_regs * regs)
void show_regs(struct pt_regs *regs)
{
__show_regs(regs);
- show_trace((unsigned long *) &regs);
+ show_trace(current, (unsigned long *) &regs);
}
-
-/* Emacs will notice this stuff at the end of the file and automatically
- * adjust the settings for this buffer only. This must remain at the end
- * of the file.
- * ---------------------------------------------------------------------------
- * Local variables:
- * c-file-style: "linux"
- * End:
- */