From b858fa511c485d7184830609b206d6b774c4a7b7 Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 29 Jun 2002 23:58:50 +0000 Subject: Fix reverse ordering of locks. add a comment about locks on some platforms. Submitted by: jhb@freebsd.org --- sys/ia64/ia64/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/ia64') diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c index 09d824f..74dfebf 100644 --- a/sys/ia64/ia64/trap.c +++ b/sys/ia64/ia64/trap.c @@ -337,7 +337,7 @@ trap(int vector, int imm, struct trapframe *framep) 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 { -- cgit v1.1