From 6c46ada700568897165409e618ed584683838b49 Mon Sep 17 00:00:00 2001 From: Coywolf Qi Hunt Date: Sat, 16 Apr 2005 15:26:01 -0700 Subject: [PATCH] reparent_to_init cleanup This patch hides reparent_to_init(). reparent_to_init() should only be called by daemonize(). Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- kernel/exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/exit.c') diff --git a/kernel/exit.c b/kernel/exit.c index 6dd4ebe1dd90..39d35935b371 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -220,7 +220,7 @@ static inline int has_stopped_jobs(int pgrp) * * NOTE that reparent_to_init() gives the caller full capabilities. */ -void reparent_to_init(void) +static inline void reparent_to_init(void) { write_lock_irq(&tasklist_lock); -- cgit v1.2.3