aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <[email protected]>2007-05-10 22:23:03 -0700
committerLinus Torvalds <[email protected]>2007-05-11 08:29:35 -0700
commit85868995d9d82de5b0de38d695559daddffef893 (patch)
treed66d265a14739e2c622c8e3ce507e09ffc5200fb /include/linux/debugobjects.h
parent0e29b24aa6b3eb6c161cbb9e42fc20b47e67a7c6 (diff)
Use struct pid parameter in copy_process()
Modify copy_process() to take a struct pid * parameter instead of a pid_t. This simplifies the code a bit and also avoids having to call find_pid() to convert the pid_t to a struct pid. Changelog: - Fixed Badari Pulavarty's comments and passed in &init_struct_pid from fork_idle(). - Fixed Eric Biederman's comments and simplified this patch and used a new patch to remove the likely(pid) check. Signed-off-by: Sukadev Bhattiprolu <[email protected]> Cc: Cedric Le Goater <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Serge Hallyn <[email protected]> Cc: Eric Biederman <[email protected]> Cc: <[email protected]> Acked-by: Eric W. Biederman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions