diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2023-07-24 16:58:13 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2023-07-24 16:58:13 +0000 |
commit | 554cdf8f575074bb36eb624d5fe76897d9707b70 (patch) | |
tree | 0c0dc71778f1fe832514f74d30c765eb646c5c99 | |
parent | e0e5127ff429aaba845e5151decd940fdbe86886 (diff) | |
download | src-554cdf8f575074bb36eb624d5fe76897d9707b70.tar.gz src-554cdf8f575074bb36eb624d5fe76897d9707b70.zip |
arm: Explain why _atomic_subword.h is needed
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D41134
-rw-r--r-- | sys/arm/include/atomic.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/arm/include/atomic.h b/sys/arm/include/atomic.h index f166b0091e90..d60b5dbbf7e0 100644 --- a/sys/arm/include/atomic.h +++ b/sys/arm/include/atomic.h @@ -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_ */ |