summaryrefslogtreecommitdiff
path: root/src/include/cpu
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 12:18:53 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-09 17:18:42 +0100
commit708fc274b54dfd13fb83edae17cea9ead0a0f2be (patch)
tree12c20ab96d4dedcdb0224d37168d4f893513180b /src/include/cpu
parentbb4ae07417c9b3be1af500a62514a2d42467cfb0 (diff)
downloadcoreboot-708fc274b54dfd13fb83edae17cea9ead0a0f2be.tar.xz
src/include: Indent code using tabs
Fix the following error and warning detected by checkpatch.pl: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line TEST=Build and run on Galileo Gen2 Change-Id: I487771b8f4d7e104457116b772cd32df5cd721a6 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18646 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/amd/sc520.h2
-rw-r--r--src/include/cpu/x86/mtrr.h12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/include/cpu/amd/sc520.h b/src/include/cpu/amd/sc520.h
index c79e99efac..53a62b5880 100644
--- a/src/include/cpu/amd/sc520.h
+++ b/src/include/cpu/amd/sc520.h
@@ -151,7 +151,7 @@ struct gptimers {
struct watchdog {
unsigned short ctl;
unsigned short cntll;
- unsigned short cntlh;
+ unsigned short cntlh;
unsigned char pad[10];
};
diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h
index fb8474a19d..539c366c21 100644
--- a/src/include/cpu/x86/mtrr.h
+++ b/src/include/cpu/x86/mtrr.h
@@ -100,9 +100,9 @@ static inline unsigned int fms(unsigned int x)
int r;
__asm__("bsrl %1,%0\n\t"
- "jnz 1f\n\t"
- "movl $0,%0\n"
- "1:" : "=r" (r) : "g" (x));
+ "jnz 1f\n\t"
+ "movl $0,%0\n"
+ "1:" : "=r" (r) : "g" (x));
return r;
}
@@ -112,9 +112,9 @@ static inline unsigned int fls(unsigned int x)
int r;
__asm__("bsfl %1,%0\n\t"
- "jnz 1f\n\t"
- "movl $32,%0\n"
- "1:" : "=r" (r) : "g" (x));
+ "jnz 1f\n\t"
+ "movl $32,%0\n"
+ "1:" : "=r" (r) : "g" (x));
return r;
}
#endif