teach set_special_pids() to use struct pid
authorOleg Nesterov <oleg@tv-sign.ru>
Fri, 8 Feb 2008 12:19:09 +0000 (04:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:27 +0000 (09:22 -0800)
commit8520d7c7f8611216e3b270becec95bb35b6899d4
tree77001e6830bb415590067e9d4be24cd8bdd36219
parente4cc0a9c876d4d4eadaef97a2bff4a199946d202
teach set_special_pids() to use struct pid

Change set_special_pids() to work with struct pid, not pid_t from global name
space. This again speedups and imho cleanups the code, also a preparation for
the next patch.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sched.h
init/main.c
kernel/exit.c
kernel/sys.c