summaryrefslogtreecommitdiff
path: root/arch/sh64/lib
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 12:06:01 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 20:08:57 +0300
commitee8c1dd44305cca9d0ded248de991f67b55ec622 (patch)
tree59d5e3b0cfa58390f793223eb8b3a779fc61c2d6 /arch/sh64/lib
parent7fdf0d7a2012e560fee738bfd7f2af26faeb3a39 (diff)
downloadlinux-ee8c1dd44305cca9d0ded248de991f67b55ec622.tar.xz
[PATCH] sh64: task_stack_page()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sh64/lib')
-rw-r--r--arch/sh64/lib/dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh64/lib/dbg.c b/arch/sh64/lib/dbg.c
index 526fedae6db8..58087331b8a6 100644
--- a/arch/sh64/lib/dbg.c
+++ b/arch/sh64/lib/dbg.c
@@ -174,7 +174,7 @@ void evt_debug(int evt, int ret_addr, int event, int tra, struct pt_regs *regs)
struct ring_node *rr;
pid = current->pid;
- stack_bottom = (unsigned long) current->thread_info;
+ stack_bottom = (unsigned long) task_stack_page(current);
asm volatile("ori r15, 0, %0" : "=r" (sp));
rr = event_ring + event_ptr;
rr->evt = evt;