summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-08 10:08:08 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-13 17:22:36 +0100
commit74f1dc0d38e53080cf59405145218acedc62a0e8 (patch)
treef15ca474f4c8dc7133c3a6abead3de32a7e2b227 /src/include
parentdb469a689b7090e3cdec654367eb26636d38dad7 (diff)
src/include: Add spaces around :
Fix the following error detected by checkpatch.pl: ERROR: spaces required around that ':' (ctx:ExV) TEST=Build and run on Galileo Gen2 Change-Id: Idb2ea29a6c7277b319e6600e8a9d7cb8285ae5df Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18684 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/x86/lapic.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h
index 7e3a96d042..f965bae8c7 100644
--- a/src/include/cpu/x86/lapic.h
+++ b/src/include/cpu/x86/lapic.h
@@ -82,21 +82,21 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size
switch (size) {
case 1:
__asm__ __volatile__("xchgb %b0,%1"
- :"=q" (x)
- :"m" (*__xg(ptr)), "0" (x)
- :"memory");
+ : "=q" (x)
+ : "m" (*__xg(ptr)), "0" (x)
+ : "memory");
break;
case 2:
__asm__ __volatile__("xchgw %w0,%1"
- :"=r" (x)
- :"m" (*__xg(ptr)), "0" (x)
- :"memory");
+ : "=r" (x)
+ : "m" (*__xg(ptr)), "0" (x)
+ : "memory");
break;
case 4:
__asm__ __volatile__("xchgl %0,%1"
- :"=r" (x)
- :"m" (*__xg(ptr)), "0" (x)
- :"memory");
+ : "=r" (x)
+ : "m" (*__xg(ptr)), "0" (x)
+ : "memory");
break;
}
return x;