Add the missing volatile qualifier in atomic_store_ptr
MFC after: 1 week Sponsored by: DARPA, AFRL
This commit is contained in:
parent
45d3115e2a
commit
0308c2bacb
@ -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) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user