mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
arm: Explain why _atomic_subword.h is needed
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D41134
This commit is contained in:
parent
e0e5127ff4
commit
554cdf8f57
1 changed files with 6 additions and 0 deletions
|
|
@ -93,6 +93,12 @@ atomic_swap_long(volatile u_long *p, u_long v)
|
|||
#define atomic_store_rel_int atomic_store_rel_32
|
||||
#define atomic_swap_int atomic_swap_32
|
||||
|
||||
/*
|
||||
* For:
|
||||
* - atomic_load_acq_8
|
||||
* - atomic_load_acq_16
|
||||
* - atomic_testandset_acq_long
|
||||
*/
|
||||
#include <sys/_atomic_subword.h>
|
||||
|
||||
#endif /* _MACHINE_ATOMIC_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue