From owner-svn-src-all@FreeBSD.ORG Mon Apr 13 05:21:18 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11C4E1065673; Mon, 13 Apr 2009 05:21:18 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 00C078FC0C; Mon, 13 Apr 2009 05:21:18 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n3D5LHKr053393; Mon, 13 Apr 2009 05:21:17 GMT (envelope-from davidxu@svn.freebsd.org) Received: (from davidxu@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n3D5LHpi053392; Mon, 13 Apr 2009 05:21:17 GMT (envelope-from davidxu@svn.freebsd.org) Message-Id: <200904130521.n3D5LHpi053392@svn.freebsd.org> From: David Xu Date: Mon, 13 Apr 2009 05:21:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190987 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 05:21:18 -0000 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);