aboutsummaryrefslogtreecommitdiff
path: root/src/include/cpu
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-07 14:31:19 -0800
committerMartin Roth <martinroth@google.com>2017-03-12 15:45:26 +0100
commit91d1e76fd168defce4132d1e308b68a2013a89df (patch)
tree87935e21ca30d6e3f42ba96326f37a2a438f85ee /src/include/cpu
parent4eb155cee47557cd652d1a85fed5021b23f18a2a (diff)
src/include: Remove spaces before ( and after )
Fix the following error messages found by checkpatch.pl: ERROR: space prohibited after that open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' TEST=Build and run on Galileo Gen2 Change-Id: I2a9a0df640c51ff3efa83dde852dd6ff37ac3c06 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18651 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/x86/lapic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h
index 69a6738c8c..3448ced2d0 100644
--- a/src/include/cpu/x86/lapic.h
+++ b/src/include/cpu/x86/lapic.h
@@ -25,7 +25,7 @@ static inline __attribute__((always_inline)) void lapic_write(unsigned long reg,
static inline __attribute__((always_inline)) void lapic_wait_icr_idle(void)
{
- do { } while ( lapic_read( LAPIC_ICR ) & LAPIC_ICR_BUSY );
+ do { } while (lapic_read(LAPIC_ICR) & LAPIC_ICR_BUSY);
}
static inline void enable_lapic(void)