From 05f1048743b8dbf824ac237d03a561382dfe6c23 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 30 Oct 2015 09:53:33 +0000 Subject: [PATCH] The prefix for CLFLUSHOPT is 0x66. It was right on amd64. Sponsored by: The FreeBSD Foundation --- sys/i386/include/cpufunc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h index ca7207d85663..f43319476d3f 100644 --- a/sys/i386/include/cpufunc.h +++ b/sys/i386/include/cpufunc.h @@ -89,7 +89,7 @@ static __inline void clflushopt(u_long addr) { - __asm __volatile(".byte 66;clflush %0" : : "m" (*(char *)addr)); + __asm __volatile(".byte 0x66;clflush %0" : : "m" (*(char *)addr)); } static __inline void