Commit bcf35afb528109a31264b45d4851fa6ae72dbe18
Committed by
Linus Torvalds
1 parent
9fc3ace937
Exists in
master
and in
39 other branches
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>
Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff
kernel/ptrace.c
... | ... | @@ -534,7 +534,6 @@ |
534 | 534 | #define arch_ptrace_attach(child) do { } while (0) |
535 | 535 | #endif |
536 | 536 | |
537 | -#ifndef __ARCH_SYS_PTRACE | |
538 | 537 | asmlinkage long sys_ptrace(long request, long pid, long addr, long data) |
539 | 538 | { |
540 | 539 | struct task_struct *child; |
... | ... | @@ -582,7 +581,6 @@ |
582 | 581 | unlock_kernel(); |
583 | 582 | return ret; |
584 | 583 | } |
585 | -#endif /* __ARCH_SYS_PTRACE */ | |
586 | 584 | |
587 | 585 | int generic_ptrace_peekdata(struct task_struct *tsk, long addr, long data) |
588 | 586 | { |