git: 554cdf8f5750 - main - arm: Explain why _atomic_subword.h is needed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jul 2023 16:58:42 UTC
The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=554cdf8f575074bb36eb624d5fe76897d9707b70 commit 554cdf8f575074bb36eb624d5fe76897d9707b70 Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2023-07-24 16:58:13 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2023-07-24 16:58:13 +0000 arm: Explain why _atomic_subword.h is needed Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D41134 --- sys/arm/include/atomic.h | 6 ++++++ 1 file changed, 6 insertions(+) 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_ */