arm64: fix atomic_fcmpset_16

newval needs to be uint16_t

Reported by:	andrew
This commit is contained in:
manu 2018-05-28 21:05:00 +00:00
parent 7c423a65c9
commit 598fd1c558

View File

@ -127,7 +127,7 @@ atomic_fcmpset_##bar##8(volatile uint8_t *p, uint8_t *cmpval, \
\
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; \