projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/cpu: Add Erratum 88 detection on AMD
[cascardo/linux.git]
/
arch
/
x86
/
entry
/
entry_64.S
diff --git
a/arch/x86/entry/entry_64.S
b/arch/x86/entry/entry_64.S
index
858b555
..
64d2033
100644
(file)
--- a/
arch/x86/entry/entry_64.S
+++ b/
arch/x86/entry/entry_64.S
@@
-783,7
+783,7
@@
ENTRY(native_load_gs_index)
SWAPGS
gs_change:
movl %edi, %gs
-2:
mfence /* workaround */
+2:
ALTERNATIVE "", "mfence", X86_BUG_SWAPGS_FENCE
SWAPGS
popfq
ret