Date: Fri, 30 Oct 2015 09:53:33 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290188 - head/sys/i386/include Message-ID: <201510300953.t9U9rXUX062148@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Oct 30 09:53:33 2015 New Revision: 290188 URL: https://svnweb.freebsd.org/changeset/base/290188 Log: The prefix for CLFLUSHOPT is 0x66. It was right on amd64. Sponsored by: The FreeBSD Foundation Modified: head/sys/i386/include/cpufunc.h Modified: head/sys/i386/include/cpufunc.h ============================================================================== --- head/sys/i386/include/cpufunc.h Fri Oct 30 09:24:16 2015 (r290187) +++ head/sys/i386/include/cpufunc.h Fri Oct 30 09:53:33 2015 (r290188) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510300953.t9U9rXUX062148>