diff options
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/specialreg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/specialreg.h b/sys/arch/amd64/include/specialreg.h index f10ced1bae5..23a4656e4de 100644 --- a/sys/arch/amd64/include/specialreg.h +++ b/sys/arch/amd64/include/specialreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: specialreg.h,v 1.33 2015/03/21 20:42:38 kettenis Exp $ */ +/* $OpenBSD: specialreg.h,v 1.34 2015/03/25 20:59:30 kettenis Exp $ */ /* $NetBSD: specialreg.h,v 1.1 2003/04/26 18:39:48 fvdl Exp $ */ /* $NetBSD: x86/specialreg.h,v 1.2 2003/04/25 21:54:30 fvdl Exp $ */ @@ -256,11 +256,11 @@ #define CPUID2STEPPING(cpuid) ((cpuid) & 15) #define CPUID(code, eax, ebx, ecx, edx) \ - __asm("cpuid" \ + __asm volatile("cpuid" \ : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) \ : "a" (code)); #define CPUID_LEAF(code, leaf, eax, ebx, ecx, edx) \ - __asm("cpuid" \ + __asm volatile("cpuid" \ : "=a" (eax), "=b" (ebx), "=c" (ecx), "=d" (edx) \ : "a" (code), "c" (leaf)); |