diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-01-12 04:06:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-12 12:08:57 -0500 |
commit | ee8c1dd44305cca9d0ded248de991f67b55ec622 (patch) | |
tree | 59d5e3b0cfa58390f793223eb8b3a779fc61c2d6 /arch/sh64/lib/dbg.c | |
parent | 7fdf0d7a2012e560fee738bfd7f2af26faeb3a39 (diff) |
[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/dbg.c')
-rw-r--r-- | arch/sh64/lib/dbg.c | 2 |
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) | |||
174 | struct ring_node *rr; | 174 | struct ring_node *rr; |
175 | 175 | ||
176 | pid = current->pid; | 176 | pid = current->pid; |
177 | stack_bottom = (unsigned long) current->thread_info; | 177 | stack_bottom = (unsigned long) task_stack_page(current); |
178 | asm volatile("ori r15, 0, %0" : "=r" (sp)); | 178 | asm volatile("ori r15, 0, %0" : "=r" (sp)); |
179 | rr = event_ring + event_ptr; | 179 | rr = event_ring + event_ptr; |
180 | rr->evt = evt; | 180 | rr->evt = evt; |