[coreboot-gerrit] New patch to review for coreboot: src/include: Add spaces around :
Lee Leahy (leroy.p.leahy@intel.com)
gerrit at coreboot.org
Wed Mar 8 20:06:32 CET 2017
Lee Leahy (leroy.p.leahy at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18684
-gerrit
commit c7bb2c042325d77e86a8b7f024f04f5944b7e16a
Author: Lee Leahy <leroy.p.leahy at intel.com>
Date: Wed Mar 8 10:08:08 2017 -0800
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 at intel.com>
---
src/include/cpu/x86/lapic.h | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h
index 7e3a96d..f965bae 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;
More information about the coreboot-gerrit
mailing list