summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-08-06 08:23:36 +0000
committerkib <kib@FreeBSD.org>2016-08-06 08:23:36 +0000
commitdf3e76ed69709768cf4e4bd3020afac5a70b7b28 (patch)
tree63707efb10dbfbbdd2f2101117f3ca8a0536572d
parentfbbd0c62985bc602513e5c2134eae7516ab972a2 (diff)
downloadFreeBSD-src-df3e76ed69709768cf4e4bd3020afac5a70b7b28.zip
FreeBSD-src-df3e76ed69709768cf4e4bd3020afac5a70b7b28.tar.gz
MFC r303702:
Remove mention of Giant from the fork_return() description.
-rw-r--r--sys/kern/kern_fork.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index d50db75..a5595c9 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -1044,9 +1044,9 @@ fork_exit(void (*callout)(void *, struct trapframe *), void *arg,
/*
* Simplified back end of syscall(), used when returning from fork()
- * directly into user mode. Giant is not held on entry, and must not
- * be held on return. This function is passed in to fork_exit() as the
- * first parameter and is called when returning to a new userland process.
+ * directly into user mode. This function is passed in to fork_exit()
+ * as the first parameter and is called when returning to a new
+ * userland process.
*/
void
fork_return(struct thread *td, struct trapframe *frame)
OpenPOWER on IntegriCloud