ia64: kill thread_matches(), unexport ptrace_check_attach()
authorOleg Nesterov <oleg@redhat.com>
Sun, 20 Jan 2013 19:25:47 +0000 (20:25 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 20 Jan 2013 20:26:05 +0000 (12:26 -0800)
commitedea0d03ee5f0ae0051b6adb6681ebdf976b1ca4
tree5a2a5f44fcfc1d0246e48fd93d91c61fe157a987
parent5da1f88b8b727dc3a66c52d4513e871be6d43d19
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>
arch/ia64/kernel/ptrace.c
include/linux/ptrace.h
kernel/ptrace.c