aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorCoywolf Qi Hunt <coywolf@lovecn.org>2005-04-16 18:26:01 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:26:01 -0400
commit6c46ada700568897165409e618ed584683838b49 (patch)
tree3e58ca796d70c7867bb2acd6fbe239f671decd78 /kernel/exit.c
parent2f4cfacecd522849dac254f87273525eeca33d1d (diff)
[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 <coywolf@lovecn.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
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)
220 * 220 *
221 * NOTE that reparent_to_init() gives the caller full capabilities. 221 * NOTE that reparent_to_init() gives the caller full capabilities.
222 */ 222 */
223void reparent_to_init(void) 223static inline void reparent_to_init(void)
224{ 224{
225 write_lock_irq(&tasklist_lock); 225 write_lock_irq(&tasklist_lock);
226 226