aboutsummaryrefslogtreecommitdiffstats
path: root/arch/v850/kernel/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/v850/kernel/ptrace.c')
-rw-r--r--arch/v850/kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/v850/kernel/ptrace.c b/arch/v850/kernel/ptrace.c
index 18492d02aaf6..67e057509664 100644
--- a/arch/v850/kernel/ptrace.c
+++ b/arch/v850/kernel/ptrace.c
@@ -58,7 +58,7 @@ static v850_reg_t *reg_save_addr (unsigned reg_offs, struct task_struct *t)
58 regs = thread_saved_regs (t); 58 regs = thread_saved_regs (t);
59 else 59 else
60 /* Register saved during kernel entry (or not available). */ 60 /* Register saved during kernel entry (or not available). */
61 regs = task_regs (t); 61 regs = task_pt_regs (t);
62 62
63 return (v850_reg_t *)((char *)regs + reg_offs); 63 return (v850_reg_t *)((char *)regs + reg_offs);
64} 64}