Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2023 16:58:42 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 554cdf8f5750 - main - arm: Explain why _atomic_subword.h is needed
Message-ID:  <202307241658.36OGwga6096614@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307241658.36OGwga6096614>