diff options
Diffstat (limited to 'arch/alpha/kernel/ptrace.c')
-rw-r--r-- | arch/alpha/kernel/ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/ptrace.c b/arch/alpha/kernel/ptrace.c index 940dfb406591..04abdec7f496 100644 --- a/arch/alpha/kernel/ptrace.c +++ b/arch/alpha/kernel/ptrace.c | |||
@@ -283,7 +283,7 @@ long arch_ptrace(struct task_struct *child, long request, | |||
283 | /* When I and D space are separate, these will need to be fixed. */ | 283 | /* When I and D space are separate, these will need to be fixed. */ |
284 | case PTRACE_PEEKTEXT: /* read word at location addr. */ | 284 | case PTRACE_PEEKTEXT: /* read word at location addr. */ |
285 | case PTRACE_PEEKDATA: | 285 | case PTRACE_PEEKDATA: |
286 | copied = access_process_vm(child, addr, &tmp, sizeof(tmp), | 286 | copied = ptrace_access_vm(child, addr, &tmp, sizeof(tmp), |
287 | FOLL_FORCE); | 287 | FOLL_FORCE); |
288 | ret = -EIO; | 288 | ret = -EIO; |
289 | if (copied != sizeof(tmp)) | 289 | if (copied != sizeof(tmp)) |