]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/include/asm/cmpxchg_32.h
x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros
[mirror_ubuntu-artful-kernel.git] / arch / x86 / include / asm / cmpxchg_32.h
index f7e142926481b6fce09ce3f2d5ddc7f5869b86d8..e4959d023af84857c7b184b1c64d9d715f318a29 100644 (file)
@@ -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 */