Check the right register for the mtx_waiters value.

This commit is contained in:
skrll 2007-02-20 00:28:53 +00:00
parent 3bd86dc17d
commit 9a649e55a4
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: lock_stubs.S,v 1.5 2007/02/19 18:09:55 skrll Exp $ */
/* $NetBSD: lock_stubs.S,v 1.6 2007/02/20 00:28:53 skrll Exp $ */
/*-
* Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
@ -112,7 +112,7 @@ LEAF_ENTRY(mutex_exit)
* to wake up any threads sleeping on the lock.
*/
ldb MTX_WAITERS(%arg0),%t4
comib,= 0,%t1,.Lexit_done
comib,= 0,%t4,.Lexit_done
nop
ldil L%mutex_wakeup, %t1