summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/amd64/amd64/proc_machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/proc_machdep.c b/sys/arch/amd64/amd64/proc_machdep.c
index cb337fb..596f661 100644
--- a/sys/arch/amd64/amd64/proc_machdep.c
+++ b/sys/arch/amd64/amd64/proc_machdep.c
@@ -134,6 +134,7 @@ md_td_kick(struct proc *td)
"pushf\n"
"push %2\n"
"push %3\n"
+ "lfence\n"
"swapgs\n"
"iretq"
: