Add the missing volatile qualifier in atomic_store_ptr

MFC after:	1 week
Sponsored by:	DARPA, AFRL
This commit is contained in:
andrew 2019-11-07 17:21:17 +00:00
parent 45d3115e2a
commit 0308c2bacb

View File

@ -58,7 +58,7 @@
#define atomic_store_long(p, v) \
(*(volatile u_long *)(p) = (u_long)(v))
#define atomic_store_ptr(p, v) \
(*(uintptr_t *)(p) = (uintptr_t)(v))
(*(volatile uintptr_t *)(p) = (uintptr_t)(v))
#define atomic_store_8(p, v) \
(*(volatile uint8_t *)(p) = (uint8_t)(v))
#define atomic_store_16(p, v) \