aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/cmpxchg_64.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-06-19 12:30:42 +0100
committerMark Brown <broonie@kernel.org>2018-06-19 12:30:42 +0100
commit0c3334d02d93988c106340d85b641e23b9087abb (patch)
treee96abc7617cfc2125be89ca765e86cdd9a1f06cd /arch/x86/include/asm/cmpxchg_64.h
parent09e05e96cbb3e437b919a99b29ed0e59db9724cb (diff)
parentd9227958dc0e56976eaf452a213aee8415a9eb60 (diff)
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-rtlsk-v4.4-18.06-rt
Diffstat (limited to 'arch/x86/include/asm/cmpxchg_64.h')
-rw-r--r--arch/x86/include/asm/cmpxchg_64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/cmpxchg_64.h b/arch/x86/include/asm/cmpxchg_64.h
index 1af94697aae5..caa23a34c963 100644
--- a/arch/x86/include/asm/cmpxchg_64.h
+++ b/arch/x86/include/asm/cmpxchg_64.h
@@ -18,6 +18,6 @@ static inline void set_64bit(volatile u64 *ptr, u64 val)
cmpxchg_local((ptr), (o), (n)); \
})
-#define system_has_cmpxchg_double() cpu_has_cx16
+#define system_has_cmpxchg_double() boot_cpu_has(X86_FEATURE_CX16)
#endif /* _ASM_X86_CMPXCHG_64_H */