Re: [PATCH 15/15] x86/atomics: Remove !CONFIG_X86_CX8 methods
From: Arnd Bergmann
Date: Fri Apr 25 2025 - 09:56:00 EST
On Fri, Apr 25, 2025, at 10:42, Ingo Molnar wrote:
> +#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)
system_has_cmpxchg64() should now become a constant.
Arnd