diff options
Diffstat (limited to 'util/msrtool')
-rw-r--r-- | util/msrtool/sys.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/util/msrtool/sys.c b/util/msrtool/sys.c index cb300d9b24..3e50f49a26 100644 --- a/util/msrtool/sys.c +++ b/util/msrtool/sys.c @@ -26,12 +26,12 @@ struct cpuid_t *cpuid(void) { /* First, we need determine which vendor we have */ #if defined(__DARWIN__) && !defined(__LP64__) - asm volatile ( - "pushl %%ebx \n" - "cpuid \n" - "popl %%ebx \n" - : "=b" (outebx) : "a" (0) : "%ecx", "%edx" - ); + asm volatile ( + "pushl %%ebx \n" + "cpuid \n" + "popl %%ebx \n" + : "=b" (outebx) : "a" (0) : "%ecx", "%edx" + ); #else asm ("cpuid" : "=b" (outebx) : "a" (0) : "%ecx", "%edx"); #endif @@ -40,12 +40,12 @@ struct cpuid_t *cpuid(void) { /* Then, identificate CPU itself */ #if defined(__DARWIN__) && !defined(__LP64__) - asm volatile ( - "pushl %%ebx \n" - "cpuid \n" - "popl %%ebx \n" - : "=a" (outeax) : "a" (1) : "%ecx", "%edx" - ); + asm volatile ( + "pushl %%ebx \n" + "cpuid \n" + "popl %%ebx \n" + : "=a" (outeax) : "a" (1) : "%ecx", "%edx" + ); #else asm ("cpuid" : "=a" (outeax) : "a" (1) : "%ebx", "%ecx", "%edx"); #endif |