The prefix for CLFLUSHOPT is 0x66. It was right on amd64.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
b0e787276b
commit
05f1048743
@ -89,7 +89,7 @@ static __inline void
|
|||||||
clflushopt(u_long addr)
|
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
|
static __inline void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user