summaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-10-19 05:28:21 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 17:52:39 +0200
commitb747c8c102cc0677a7a8056a093f58d7c9b500e7 (patch)
tree5b0a67f24117dee1c6169e6a5e2a912c1ea5c28f /kernel/ptrace.c
parentbitmask: remove bitmap_scnprintf_len() (diff)
downloadlinux-b747c8c102cc0677a7a8056a093f58d7c9b500e7.tar.xz
linux-b747c8c102cc0677a7a8056a093f58d7c9b500e7.zip
make ptrace_untrace() static
ptrace_untrace() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Oleg Nesterov <oleg@tv-sign.ru> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--kernel/ptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 356699a96d56..1e68e4c39e2c 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -45,7 +45,7 @@ void __ptrace_link(struct task_struct *child, struct task_struct *new_parent)
* TASK_TRACED, resume it now.
* Requires that irqs be disabled.
*/
-void ptrace_untrace(struct task_struct *child)
+static void ptrace_untrace(struct task_struct *child)
{
spin_lock(&child->sighand->siglock);
if (task_is_traced(child)) {