mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
50d5ad0e42
commit
22f8f5fe92
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue