diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-04-22 03:17:41 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-04-22 03:17:41 +0000 |
commit | 4f1ed41d01188ce8a72c60fbaa4634428e79e096 (patch) | |
tree | 71d51d5a809df16010b7b4720d959719057801d1 /sys/alpha | |
parent | bedf79949fdd1f8a67cff6c5c9356a743ab229f5 (diff) | |
download | FreeBSD-src-4f1ed41d01188ce8a72c60fbaa4634428e79e096.zip FreeBSD-src-4f1ed41d01188ce8a72c60fbaa4634428e79e096.tar.gz |
Remove single threading detecting code, these code really should be
replaced by thread_user_enter(), but current we don't want to enable
this in trap.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/trap.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c index e5975e2..ca31103 100644 --- a/sys/alpha/alpha/trap.c +++ b/sys/alpha/alpha/trap.c @@ -298,13 +298,6 @@ trap(a0, a1, a2, entry, framep) td->td_frame = framep; if (td->td_ucred != p->p_ucred) cred_update_thread(td); - PROC_LOCK(p); - if ((p->p_flag & P_WEXIT) && (p->p_singlethread != td)) { - mtx_lock_spin(&sched_lock); - thread_exit(); - /* NOTREACHED */ - } - PROC_UNLOCK(p); } else { sticks = 0; /* XXX bogus -Wuninitialized warning */ KASSERT(cold || td->td_ucred != NULL, |