Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115912322
D46159.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
361 B
Referenced Files
None
Subscribers
None
D46159.diff
View Options
diff --git a/sys/arm64/include/atomic.h b/sys/arm64/include/atomic.h
--- a/sys/arm64/include/atomic.h
+++ b/sys/arm64/include/atomic.h
@@ -65,8 +65,9 @@
#include <sys/atomic_common.h>
-#ifdef _KERNEL
-
+#if defined(__ARM_FEATURE_ATOMICS)
+#define _ATOMIC_LSE_SUPPORTED 1
+#elif defined(_KERNEL)
#ifdef LSE_ATOMICS
#define _ATOMIC_LSE_SUPPORTED 1
#else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 8:07 AM (17 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17877128
Default Alt Text
D46159.diff (361 B)
Attached To
Mode
D46159: arm64: Expand the use of Armv8.1-A atomics
Attached
Detach File
Event Timeline
Log In to Comment