Commit b8b543d0 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Khalid Elmously

UBUNTU: SAUCE: drop lingering gmb() macro

CVE-2017-5715 (Spectre v2 Intel)
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarColin Ian King <colin.king@canonical.com>
Acked-by: default avatarKamal Mostafa <kamal@canonical.com>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
parent 801d4123
......@@ -24,9 +24,6 @@
#define wmb() asm volatile("sfence" ::: "memory")
#endif
#define gmb() alternative_2("", "mfence", X86_FEATURE_MFENCE_RDTSC, \
"lfence", X86_FEATURE_LFENCE_RDTSC);
#ifdef CONFIG_X86_PPRO_FENCE
#define dma_rmb() rmb()
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment