summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2002-06-29 23:58:50 +0000
committerjulian <julian@FreeBSD.org>2002-06-29 23:58:50 +0000
commitb858fa511c485d7184830609b206d6b774c4a7b7 (patch)
tree1bba8ab7a0d50e56cf7bd50ae4a496a08defca30 /sys/sparc64
parent886a05312e58021cfdeecabf0adf1aca9f8561a7 (diff)
downloadFreeBSD-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.c2
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 {
OpenPOWER on IntegriCloud