Re: [PATCH 15/15] x86/atomics: Remove !CONFIG_X86_CX8 methods
From: Brian Gerst
Date: Fri Apr 25 2025 - 11:04:22 EST
On Fri, Apr 25, 2025 at 10:30 AM Uros Bizjak <ubizjak@xxxxxxxxx> wrote:
>
>
>
> 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
Or just outright removed, since x86 was the only arch that defined it.
Brian Gerst