force atomic_cmpset_ptr types to match atomic_cmpset_32;
this matches what powerpc does Submitted by: stass MFC after: 2 weeks
This commit is contained in:
parent
39a3163400
commit
b0deb12c84
@ -344,7 +344,8 @@ atomic_readandclear_32(volatile u_int32_t *p)
|
||||
|
||||
#define atomic_clear_ptr atomic_clear_32
|
||||
#define atomic_set_ptr atomic_set_32
|
||||
#define atomic_cmpset_ptr atomic_cmpset_32
|
||||
#define atomic_cmpset_ptr(dst, old, new) \
|
||||
atomic_cmpset_32((volatile u_int *)(dst), (u_int)(old), (u_int)(new))
|
||||
#define atomic_cmpset_rel_ptr atomic_cmpset_ptr
|
||||
#define atomic_cmpset_acq_ptr atomic_cmpset_ptr
|
||||
#define atomic_store_ptr atomic_store_32
|
||||
|
Loading…
Reference in New Issue
Block a user