Whitespace. Fix a comment block and an if statement that were wider
than 80 characters.
This commit is contained in:
@@ -424,14 +424,16 @@ wait1(q, uap, compat)
|
||||
p->p_pid != uap->pid && p->p_pgid != -uap->pid)
|
||||
continue;
|
||||
|
||||
/* This special case handles a kthread spawned by linux_clone
|
||||
* (see linux_misc.c). The linux_wait4 and linux_waitpid functions
|
||||
* need to be able to distinguish between waiting on a process and
|
||||
* waiting on a thread. It is a thread if p_sigparent is not SIGCHLD,
|
||||
* and the WLINUXCLONE option signifies we want to wait for threads
|
||||
* and not processes.
|
||||
/*
|
||||
* This special case handles a kthread spawned by linux_clone
|
||||
* (see linux_misc.c). The linux_wait4 and linux_waitpid
|
||||
* functions need to be able to distinguish between waiting
|
||||
* on a process and waiting on a thread. It is a thread if
|
||||
* p_sigparent is not SIGCHLD, and the WLINUXCLONE option
|
||||
* signifies we want to wait for threads and not processes.
|
||||
*/
|
||||
if ((p->p_sigparent != SIGCHLD) ^ ((uap->options & WLINUXCLONE) != 0))
|
||||
if ((p->p_sigparent != SIGCHLD) ^
|
||||
((uap->options & WLINUXCLONE) != 0))
|
||||
continue;
|
||||
|
||||
nfound++;
|
||||
|
||||
Reference in New Issue
Block a user