diff options
| author | Pavel Emelyanov <[email protected]> | 2008-04-30 00:54:24 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-30 08:29:48 -0700 |
| commit | 5cd204550b1a006f2b0c986b0e0f53220ebfd391 (patch) | |
| tree | ee0f5e042072d4d2f4a3c6cd6e3a8b60676868ae /include/linux/errqueue.h | |
| parent | cb41d6d068716b2b3666925da34d3d7e658bf4f3 (diff) | |
Deprecate find_task_by_pid()
There are some places that are known to operate on tasks'
global pids only:
* the rest_init() call (called on boot)
* the kgdb's getthread
* the create_kthread() (since the kthread is run in init ns)
So use the find_task_by_pid_ns(..., &init_pid_ns) there
and schedule the find_task_by_pid for removal.
[[email protected]: Fix warning in kernel/pid.c]
Signed-off-by: Pavel Emelyanov <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Signed-off-by: Sukadev Bhattiprolu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions