]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] kill SET_LINKS/REMOVE_LINKS
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 29 Mar 2006 00:11:06 +0000 (16:11 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 29 Mar 2006 02:36:41 +0000 (18:36 -0800)
commitc97d98931ac52ef110b62d9b75c6a6f2bfbc1898
treef811f8b2862692c2eb7ee92e62e8f0afcfd37a2d
parent9b678ece42893b53aae5ed7cb8d7cb261cacb72c
[PATCH] kill SET_LINKS/REMOVE_LINKS

Both SET_LINKS() and SET_LINKS/REMOVE_LINKS() have exactly one caller, and
these callers already check thread_group_leader().

This patch kills theese macros, they mix two different things: setting
process's parent and registering it in init_task.tasks list.  Callers are
updated to do these actions by hand.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/sched.h
kernel/exit.c
kernel/fork.c