summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-09-27 12:38:12 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2012-09-27 12:46:22 +0200
commit27aa55c5e5123fa8b8ad0156559d34d7edff58ca (patch)
tree51b07e057fe8bd8320a770f82bde61e43f6da520 /arch/arm64/kernel
parentarm64: Do not set the SMP/nAMP processor bit (diff)
downloadlinux-27aa55c5e5123fa8b8ad0156559d34d7edff58ca.tar.xz
linux-27aa55c5e5123fa8b8ad0156559d34d7edff58ca.zip
arm64: ptrace: remove obsolete ptrace request numbers from user headers
The use of regsets has removed the need for many private ptrace requests, so remove the corresponding definitions from the user-visible ptrace.h Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r--arch/arm64/kernel/ptrace.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm64/kernel/ptrace.c b/arch/arm64/kernel/ptrace.c
index 490f7537a270..ac3550ecc7b5 100644
--- a/arch/arm64/kernel/ptrace.c
+++ b/arch/arm64/kernel/ptrace.c
@@ -1005,7 +1005,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
ret = compat_ptrace_write_user(child, addr, data);
break;
- case PTRACE_GETREGS:
+ case COMPAT_PTRACE_GETREGS:
ret = copy_regset_to_user(child,
&user_aarch32_view,
REGSET_COMPAT_GPR,
@@ -1013,7 +1013,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
datap);
break;
- case PTRACE_SETREGS:
+ case COMPAT_PTRACE_SETREGS:
ret = copy_regset_from_user(child,
&user_aarch32_view,
REGSET_COMPAT_GPR,
@@ -1021,12 +1021,12 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
datap);
break;
- case PTRACE_GET_THREAD_AREA:
+ case COMPAT_PTRACE_GET_THREAD_AREA:
ret = put_user((compat_ulong_t)child->thread.tp_value,
(compat_ulong_t __user *)datap);
break;
- case PTRACE_SET_SYSCALL:
+ case COMPAT_PTRACE_SET_SYSCALL:
task_pt_regs(child)->syscallno = data;
ret = 0;
break;
@@ -1048,11 +1048,11 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
break;
#ifdef CONFIG_HAVE_HW_BREAKPOINT
- case PTRACE_GETHBPREGS:
+ case COMPAT_PTRACE_GETHBPREGS:
ret = compat_ptrace_gethbpregs(child, addr, datap);
break;
- case PTRACE_SETHBPREGS:
+ case COMPAT_PTRACE_SETHBPREGS:
ret = compat_ptrace_sethbpregs(child, addr, datap);
break;
#endif