arm: Explain why _atomic_subword.h is needed
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D41134
This commit is contained in:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user