diff options
author | des <des@FreeBSD.org> | 2003-03-19 00:33:38 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-03-19 00:33:38 +0000 |
commit | e97206db4c1aff2243069581f7f163b256145c38 (patch) | |
tree | 2de43701f1d4ab9a2a36aa49d0d4bc086034820f /sys/kern/kern_exit.c | |
parent | ce68d8fa2273a645135a8305c067ea2b9522f000 (diff) | |
download | FreeBSD-src-e97206db4c1aff2243069581f7f163b256145c38.zip FreeBSD-src-e97206db4c1aff2243069581f7f163b256145c38.tar.gz |
Whitespace cleanup.
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r-- | sys/kern/kern_exit.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c index 168900f..4dd360e 100644 --- a/sys/kern/kern_exit.c +++ b/sys/kern/kern_exit.c @@ -178,11 +178,11 @@ exit1(td, rv) /* * All other activity in this process is now stopped. * Remove excess KSEs and KSEGRPS. XXXKSE (when we have them) - * ... + * ... * Turn off threading support. */ p->p_flag &= ~P_THREADED; - thread_single_end(); /* Don't need this any more. */ + thread_single_end(); /* Don't need this any more. */ } /* * With this state set: @@ -208,7 +208,7 @@ exit1(td, rv) PROC_UNLOCK(q); q = q->p_peers; } - while (p->p_peers != NULL) + while (p->p_peers != NULL) msleep(p, &ppeers_lock, PWAIT, "exit1", 0); mtx_unlock(&ppeers_lock); } @@ -219,12 +219,12 @@ exit1(td, rv) STOPEVENT(p, S_EXIT, rv); wakeup(&p->p_stype); /* Wakeup anyone in procfs' PIOCWAIT */ - /* + /* * Check if any loadable modules need anything done at process exit. * e.g. SYSV IPC stuff * XXX what if one of these generates an error? */ - TAILQ_FOREACH(ep, &exit_list, next) + TAILQ_FOREACH(ep, &exit_list, next) (*ep->function)(p); @@ -479,7 +479,7 @@ exit1(td, rv) if (p->p_flag & P_KTHREAD) wakeup(p); PROC_UNLOCK(p); - + /* * Finally, call machine-dependent code to release the remaining * resources including address space. @@ -514,7 +514,7 @@ exit1(td, rv) /* * Make sure the scheduler takes this thread out of its tables etc. * This will also release this thread's reference to the ucred. - * Other thread parts to release include pcb bits and such. + * Other thread parts to release include pcb bits and such. */ thread_exit(); } @@ -592,7 +592,7 @@ loop: } /* - * This special case handles a kthread spawned by linux_clone + * 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 @@ -824,7 +824,7 @@ proc_reparent(child, parent) /* * The next two functions are to handle adding/deleting items on the * exit callout list - * + * * at_exit(): * Take the arguments given and put them onto the exit callout list, * However first make sure that it's not already there. @@ -839,7 +839,7 @@ at_exit(function) #ifdef INVARIANTS /* Be noisy if the programmer has lost track of things */ - if (rm_at_exit(function)) + if (rm_at_exit(function)) printf("WARNING: exit callout entry (%p) already present\n", function); #endif |