Re: [PATCH 15/15] x86/atomics: Remove !CONFIG_X86_CX8 methods

From: Uros Bizjak
Date: Fri Apr 25 2025 - 10:10:44 EST




On 25. 04. 25 10:42, Ingo Molnar wrote:

-#endif
+#define arch_cmpxchg64 __cmpxchg64
+#define arch_cmpxchg64_local __cmpxchg64_local
+#define arch_try_cmpxchg64 __try_cmpxchg64
+#define arch_try_cmpxchg64_local __try_cmpxchg64_local
#define system_has_cmpxchg64() boot_cpu_has(X86_FEATURE_CX8)

#define system_has_cmpxchg64() 1

Uros.