aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2007-02-01 13:33:33 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2007-02-01 13:33:33 +0000
commit75ee4e546263d0f875566296df0a1044089041ef (patch)
tree12612c88ab9da21d9a2cf1bbe238e8c1526923a1 /sys/compat
parent25954d743041da5014c4b48d9ef2504664ce1ec9 (diff)
Notes
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_misc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index e3e837e2fe9ec..02d86f9248466 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -1606,7 +1606,7 @@ linux_exit_group(struct thread *td, struct linux_exit_group_args *args)
#endif
if (linux_use26(td)) {
- td_em = em_find(td->td_proc, EMUL_DOLOCK);
+ td_em = em_find(td->td_proc, EMUL_DONTLOCK);
KASSERT(td_em != NULL, ("exit_group: emuldata not found.\n"));
@@ -1624,11 +1624,10 @@ linux_exit_group(struct thread *td, struct linux_exit_group_args *args)
}
EMUL_SHARED_RUNLOCK(&emul_shared_lock);
- EMUL_UNLOCK(&emul_lock);
}
/*
* XXX: we should send a signal to the parent if
- * SIGNAL_EXIT_GROUP is set. We ignore that (temporrarily?)
+ * SIGNAL_EXIT_GROUP is set. We ignore that (temporarily?)
* as it doesnt occur often.
*/
exit1(td, W_EXITCODE(args->error_code, 0));