summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amd64/include/cpufunc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/cpufunc.h b/sys/arch/amd64/include/cpufunc.h
index 9c6cc12f097..395250c3ba5 100644
--- a/sys/arch/amd64/include/cpufunc.h
+++ b/sys/arch/amd64/include/cpufunc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpufunc.h,v 1.28 2018/07/24 02:42:25 guenther Exp $ */
+/* $OpenBSD: cpufunc.h,v 1.29 2018/07/24 14:49:44 guenther Exp $ */
/* $NetBSD: cpufunc.h,v 1.3 2003/05/08 10:27:43 fvdl Exp $ */
/*-
@@ -305,7 +305,7 @@ mwait(u_long extensions, u_int hints)
" .align 16,0xcc ;"
"7: loop 3b ;"
" add $(16*8),%%rsp"
- : "=c" (extensions) : "a" (hints));
+ : "+c" (extensions) : "a" (hints));
}
static __inline void