diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-01-20 14:25:47 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-20 15:26:05 -0500 |
commit | edea0d03ee5f0ae0051b6adb6681ebdf976b1ca4 (patch) | |
tree | 5a2a5f44fcfc1d0246e48fd93d91c61fe157a987 /kernel | |
parent | 5da1f88b8b727dc3a66c52d4513e871be6d43d19 (diff) |
ia64: kill thread_matches(), unexport ptrace_check_attach()
The ia64 function "thread_matches()" has no users since commit
e868a55c2a8c ("[IA64] remove find_thread_for_addr()"). Remove it.
This allows us to make ptrace_check_attach() static to kernel/ptrace.c,
which is good since we'll need to change the semantics of it and fix up
all the callers.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/ptrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c index 1599157336a6..612a56126851 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c | |||
@@ -139,7 +139,7 @@ void __ptrace_unlink(struct task_struct *child) | |||
139 | * RETURNS: | 139 | * RETURNS: |
140 | * 0 on success, -ESRCH if %child is not ready. | 140 | * 0 on success, -ESRCH if %child is not ready. |
141 | */ | 141 | */ |
142 | int ptrace_check_attach(struct task_struct *child, bool ignore_state) | 142 | static int ptrace_check_attach(struct task_struct *child, bool ignore_state) |
143 | { | 143 | { |
144 | int ret = -ESRCH; | 144 | int ret = -ESRCH; |
145 | 145 | ||