summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-10-15 10:01:21 +0200
committerMartin Roth <martinroth@google.com>2016-10-19 17:02:07 +0200
commit3baa7e707388306d81beac7cc34634e4d831da6d (patch)
tree35545cbbc991669a8b902043b41b0dbab131c94a /util
parentff1286d5003194bdbd78fd3b74d91bb01a77b399 (diff)
util/msrtool: Use tabs for indents
Change-Id: Ib1aa4ad04dc8a584a751677aac5652cfa2e457df Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/17031 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util')
-rw-r--r--util/msrtool/sys.c24
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