diff options
author | Christoph Hellwig <hch@lst.de> | 2008-05-01 18:43:12 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-01 10:21:54 -0700 |
commit | bcf35afb528109a31264b45d4851fa6ae72dbe18 (patch) | |
tree | 37607aae9efdbd1005d82e0a9a679899eb5a3afe /kernel | |
parent | 9fc3ace937a675bf42cbe6e6ef8950a6731ca16f (diff) | |
download | kernel_samsung_smdk4412-bcf35afb528109a31264b45d4851fa6ae72dbe18.zip kernel_samsung_smdk4412-bcf35afb528109a31264b45d4851fa6ae72dbe18.tar.gz kernel_samsung_smdk4412-bcf35afb528109a31264b45d4851fa6ae72dbe18.tar.bz2 |
make generic sys_ptrace unconditional
With s390 the last arch switched to the generic sys_ptrace yesterday so
we can now kill the ifdef around it to enforce every new port it using
it instead of introducing new weirdo versions.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/ptrace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c index dcc199c..6c19e94 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -534,7 +534,6 @@ struct task_struct *ptrace_get_task_struct(pid_t pid) #define arch_ptrace_attach(child) do { } while (0) #endif -#ifndef __ARCH_SYS_PTRACE asmlinkage long sys_ptrace(long request, long pid, long addr, long data) { struct task_struct *child; @@ -582,7 +581,6 @@ asmlinkage long sys_ptrace(long request, long pid, long addr, long data) unlock_kernel(); return ret; } -#endif /* __ARCH_SYS_PTRACE */ int generic_ptrace_peekdata(struct task_struct *tsk, long addr, long data) { |