Date: Mon, 13 Apr 2009 05:21:17 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190987 - head/sys/kern Message-ID: <200904130521.n3D5LHpi053392@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904130521.n3D5LHpi053392>