diff options
author | netchild <netchild@FreeBSD.org> | 2006-08-16 18:54:51 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-08-16 18:54:51 +0000 |
commit | 39fd1c6d476c48c3facf010bff19549a4c804bb6 (patch) | |
tree | 9b98826a447368cd130db3286d51a49bdc063241 /sys/compat/linux/linux_emul.c | |
parent | 99c9166015cb50a6814489ec28d2988e688d4879 (diff) | |
download | FreeBSD-src-39fd1c6d476c48c3facf010bff19549a4c804bb6.zip FreeBSD-src-39fd1c6d476c48c3facf010bff19549a4c804bb6.tar.gz |
Style fixes to comments.
Sponsored by: Google SoC 2006
Submitted by: rdivacky
Noticed by: jhb, ssouhlal
Diffstat (limited to 'sys/compat/linux/linux_emul.c')
-rw-r--r-- | sys/compat/linux/linux_emul.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c index f3398b9..9d14215 100644 --- a/sys/compat/linux/linux_emul.c +++ b/sys/compat/linux/linux_emul.c @@ -110,7 +110,8 @@ linux_proc_init(struct thread *td, pid_t child, int flags) em->child_clear_tid = NULL; em->child_set_tid = NULL; - /* allocate the shared struct only in clone()/fork cases + /* + * allocate the shared struct only in clone()/fork cases * in the case of clone() td = calling proc and child = pid of * the newly created proc */ @@ -190,9 +191,10 @@ linux_proc_exit(void *arg __unused, struct proc *p) cup.uaddr2 = NULL; cup.val3 = 0; error = linux_sys_futex(FIRST_THREAD_IN_PROC(p), &cup); - /* this cannot happen at the moment and if this happens + /* + * this cannot happen at the moment and if this happens * it probably mean there is a userspace bug - */ + */ if (error) printf(LMSG("futex stuff in proc_exit failed.\n")); } @@ -201,7 +203,8 @@ linux_proc_exit(void *arg __unused, struct proc *p) FREE(em, M_LINUX); } -/* This is used in a case of transition from FreeBSD binary execing to linux binary +/* + * This is used in a case of transition from FreeBSD binary execing to linux binary * in this case we create linux emuldata proc entry with the pid of the currently running * process. */ @@ -256,7 +259,8 @@ retry: em = em_find(p, EMUL_UNLOCKED); if (em == NULL) { - /* We might have been called before proc_init for this process so + /* + * We might have been called before proc_init for this process so * tsleep and be woken up by it. We use p->p_emuldata for this */ |