Date: Mon, 28 May 2018 21:05:01 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334297 - head/sys/arm64/include Message-ID: <201805282105.w4SL51MW036523@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Mon May 28 21:05:00 2018 New Revision: 334297 URL: https://svnweb.freebsd.org/changeset/base/334297 Log: arm64: fix atomic_fcmpset_16 newval needs to be uint16_t Reported by: andrew Modified: head/sys/arm64/include/atomic.h Modified: head/sys/arm64/include/atomic.h ============================================================================== --- head/sys/arm64/include/atomic.h Mon May 28 20:47:39 2018 (r334296) +++ head/sys/arm64/include/atomic.h Mon May 28 21:05:00 2018 (r334297) @@ -127,7 +127,7 @@ atomic_fcmpset_##bar##8(volatile uint8_t *p, uint8_t * \ static __inline int \ atomic_fcmpset_##bar##16(volatile uint16_t *p, uint16_t *cmpval, \ - uint8_t newval) \ + uint16_t newval) \ { \ uint16_t tmp; \ uint16_t _cmpval = *cmpval; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805282105.w4SL51MW036523>