aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ptrace.c')
-rw-r--r--kernel/ptrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index f764b8806955..ca2df68faf76 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -629,7 +629,7 @@ int generic_ptrace_pokedata(struct task_struct *tsk, long addr, long data)
629 return (copied == sizeof(data)) ? 0 : -EIO; 629 return (copied == sizeof(data)) ? 0 : -EIO;
630} 630}
631 631
632#if defined CONFIG_COMPAT && defined __ARCH_WANT_COMPAT_SYS_PTRACE 632#if defined CONFIG_COMPAT
633#include <linux/compat.h> 633#include <linux/compat.h>
634 634
635int compat_ptrace_request(struct task_struct *child, compat_long_t request, 635int compat_ptrace_request(struct task_struct *child, compat_long_t request,
@@ -726,4 +726,4 @@ asmlinkage long compat_sys_ptrace(compat_long_t request, compat_long_t pid,
726 unlock_kernel(); 726 unlock_kernel();
727 return ret; 727 return ret;
728} 728}
729#endif /* CONFIG_COMPAT && __ARCH_WANT_COMPAT_SYS_PTRACE */ 729#endif /* CONFIG_COMPAT */