diff options
author | julian <julian@FreeBSD.org> | 2002-06-29 23:58:50 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-06-29 23:58:50 +0000 |
commit | b858fa511c485d7184830609b206d6b774c4a7b7 (patch) | |
tree | 1bba8ab7a0d50e56cf7bd50ae4a496a08defca30 /sys/sparc64 | |
parent | 886a05312e58021cfdeecabf0adf1aca9f8561a7 (diff) | |
download | FreeBSD-src-b858fa511c485d7184830609b206d6b774c4a7b7.zip FreeBSD-src-b858fa511c485d7184830609b206d6b774c4a7b7.tar.gz |
Fix reverse ordering of locks. add a comment about locks on some platforms.
Submitted by: jhb@freebsd.org
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c index f39d2f6..2fe9bb3 100644 --- a/sys/sparc64/sparc64/trap.c +++ b/sys/sparc64/sparc64/trap.c @@ -193,7 +193,7 @@ trap(struct trapframe *tf) cred_update_thread(td); if ((p->p_flag & P_WEXIT) && (p->p_singlethread != td)) { mtx_lock_spin(&sched_lock); - thread_exit(); + thread_exit(); /* XXXKSE need proc lock? */ /* NOTREACHED */ } } else { |