Author: davidxu
Date: Mon Apr 13 05:21:17 2009
New Revision: 190987
URL: http://svn.freebsd.org/changeset/base/190987
Log:
Make UMTX_OP_WAIT_UINT actually wait for an unsigned integer on 64-bits
machine.
MFC after: 1 week
Modified:
head/sys/kern/kern_umtx.c
Modified: head/sys/kern/kern_umtx.c
==============================================================================
--- head/sys/kern/kern_umtx.c Mon Apr 13 03:20:21 2009 (r190986)
+++ head/sys/kern/kern_umtx.c Mon Apr 13 05:21:17 2009 (r190987)
@@ -975,7 +975,7 @@ do_wait(struct thread *td, void *addr, u
if (compat32 == 0)
tmp = fuword(addr);
else
- tmp = fuword32(addr);
+ tmp = (unsigned int)fuword32(addr);
if (tmp != id) {
umtxq_lock(&uq->uq_key);
umtxq_remove(uq);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"