diff options
author | kib <kib@FreeBSD.org> | 2015-10-30 09:53:33 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-10-30 09:53:33 +0000 |
commit | df9dbd12ce851f3a35bbb614e3122adfb6db09c2 (patch) | |
tree | 80ab799dd9b1961ecd76ae27f160a841915a2086 /sys/i386/include/cpufunc.h | |
parent | f8063150c3bce7df1f34d3b8ddb207a8abda4f1e (diff) | |
download | FreeBSD-src-df9dbd12ce851f3a35bbb614e3122adfb6db09c2.zip FreeBSD-src-df9dbd12ce851f3a35bbb614e3122adfb6db09c2.tar.gz |
The prefix for CLFLUSHOPT is 0x66. It was right on amd64.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/i386/include/cpufunc.h')
-rw-r--r-- | sys/i386/include/cpufunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h index ca7207d..f433194 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 |