arm64: fix atomic_fcmpset_16
newval needs to be uint16_t Reported by: andrew
This commit is contained in:
parent
7c423a65c9
commit
598fd1c558
@ -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; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user