diff options
Diffstat (limited to 'sys/arch/amd64/include/cpufunc.h')
-rw-r--r-- | sys/arch/amd64/include/cpufunc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/cpufunc.h b/sys/arch/amd64/include/cpufunc.h index 7c7e391f88d..9c6cc12f097 100644 --- a/sys/arch/amd64/include/cpufunc.h +++ b/sys/arch/amd64/include/cpufunc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpufunc.h,v 1.27 2018/07/23 17:54:04 guenther Exp $ */ +/* $OpenBSD: cpufunc.h,v 1.28 2018/07/24 02:42:25 guenther Exp $ */ /* $NetBSD: cpufunc.h,v 1.3 2003/05/08 10:27:43 fvdl Exp $ */ /*- @@ -295,10 +295,12 @@ mwait(u_long extensions, u_int hints) " .align 16,0x90 ;" "3: call 5f ;" "4: pause ;" + " lfence ;" " call 4b ;" " .align 16,0xcc ;" "5: call 7f ;" "6: pause ;" + " lfence ;" " call 6b ;" " .align 16,0xcc ;" "7: loop 3b ;" |