X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fx86%2Finclude%2Fasm%2Fcmpxchg_32.h;h=e4959d023af84857c7b184b1c64d9d715f318a29;hb=50ae833e471fe1a1a906a0342bdaa690e69fcc19;hp=f7e142926481b6fce09ce3f2d5ddc7f5869b86d8;hpb=b92178623f190a9898fed3632fb40b17f6789673;p=cascardo%2Flinux.git diff --git a/arch/x86/include/asm/cmpxchg_32.h b/arch/x86/include/asm/cmpxchg_32.h index f7e142926481..e4959d023af8 100644 --- a/arch/x86/include/asm/cmpxchg_32.h +++ b/arch/x86/include/asm/cmpxchg_32.h @@ -109,6 +109,6 @@ static inline u64 __cmpxchg64_local(volatile u64 *ptr, u64 old, u64 new) #endif -#define system_has_cmpxchg_double() cpu_has_cx8 +#define system_has_cmpxchg_double() boot_cpu_has(X86_FEATURE_CX8) #endif /* _ASM_X86_CMPXCHG_32_H */