From 708fc274b54dfd13fb83edae17cea9ead0a0f2be Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Tue, 7 Mar 2017 12:18:53 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/18646 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/include/cpu/amd/sc520.h | 2 +- src/include/cpu/x86/mtrr.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/include/cpu') 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 -- cgit v1.2.3