aboutsummaryrefslogtreecommitdiff
path: root/arch/sh64/lib
diff options
context:
space:
mode:
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 526fedae6db..58087331b8a 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;