From: Eric W. Biederman Date: Mon, 2 Oct 2006 09:17:09 +0000 (-0700) Subject: [PATCH] pid: add do_each_pid_task X-Git-Tag: v2.6.19-rc1~480 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=558cb325485aaf655130f140e8ddd25392f6c972;p=pandora-kernel.git [PATCH] pid: add do_each_pid_task To avoid pid rollover confusion the kernel needs to work with struct pid * instead of pid_t. Currently there is not an iterator that walks through all of the tasks of a given pid type starting with a struct pid. This prevents us replacing some pid_t instances with struct pid. So this patch adds do_each_pid_task which walks through the set of task for a given pid type starting with a struct pid. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed