aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2013-07-03 15:08:30 -0700
committerLinus Torvalds <[email protected]>2013-07-03 16:08:03 -0700
commit80628ca06c5d42929de6bc22c0a41589a834d151 (patch)
treea76f3264bac4b21554221ac54bddc69c759aed9b /include/linux/fpga/fpga-mgr.h
parentb57922b6c76c3ee401bb32fd3f298409dd6e6a53 (diff)
kernel/fork.c:copy_process(): unify CLONE_THREAD-or-thread_group_leader code
Cleanup and preparation for the next changes. Move the "if (clone_flags & CLONE_THREAD)" code down under "if (likely(p->pid))" and turn it into into the "else" branch. This makes the process/thread initialization more symmetrical and removes one check. Signed-off-by: Oleg Nesterov <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Pavel Emelyanov <[email protected]> Cc: Sergey Dyasly <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions