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:33 +0100
committerMark Brown <broonie@kernel.org>2018-06-19 12:30:33 +0100
commitd9227958dc0e56976eaf452a213aee8415a9eb60 (patch)
tree1f31cfd333fce67c76e2693c4d55caac39744bee /arch/x86/include/asm/cmpxchg_64.h
parentb0c2d653f718f3d56b4ffdca950aea247ee7dc99 (diff)
parent0bd2bedb3501db249b347e5acbfd3415bd7667a5 (diff)
Merge tag 'v4.4.138' into linux-linaro-lsk-v4.4lsk-v4.4-18.06
This is the 4.4.138 stable release
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 */