Date: Sat, 25 Oct 2014 20:42:48 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273646 - head/sys/kern Message-ID: <201410252042.s9PKgm8h013212@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Sat Oct 25 20:42:47 2014 New Revision: 273646 URL: https://svnweb.freebsd.org/changeset/base/273646 Log: Use correct type in __DEVOLATILE(). Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c ============================================================================== --- head/sys/kern/kern_umtx.c Sat Oct 25 20:34:10 2014 (r273645) +++ head/sys/kern/kern_umtx.c Sat Oct 25 20:42:47 2014 (r273646) @@ -2895,7 +2895,8 @@ do_sem2_wake(struct thread *td, struct _ */ if (cnt == 1) { umtxq_unlock(&key); - count = fuword32(__DEVOLATILE(void *, &sem->_count)); + count = fuword32(__DEVOLATILE(uint32_t *, + &sem->_count)); while (count != -1 && count & USEM_HAS_WAITERS) count = casuword32(&sem->_count, count, count & ~USEM_HAS_WAITERS);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410252042.s9PKgm8h013212>