diff options
author | Logan Carlson <logancarlson@google.com> | 2017-05-30 15:31:10 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-06-02 18:30:53 +0200 |
commit | c058d1c0f8c04a0fca778f70701d7f903754b0b6 (patch) | |
tree | e2b54717a77ccb2b14a9314a75be3741850ebdf5 /src/arch/arm/include/armv7.h | |
parent | f848ed091e49ab076b5d4dccc7ccff429ecea445 (diff) | |
download | coreboot-c058d1c0f8c04a0fca778f70701d7f903754b0b6.tar.gz coreboot-c058d1c0f8c04a0fca778f70701d7f903754b0b6.tar.bz2 coreboot-c058d1c0f8c04a0fca778f70701d7f903754b0b6.zip |
arch/arm: Correct checkpatch errors
Correct whitespace issues in arch/arm and arch/arm64.
Enclose complex values in parenthesis.
Change-Id: I74b68f485adff1e6f0fa433e51e12b59ccea654b
Signed-off-by: Logan Carlson <logancarlson@google.com>
Reviewed-on: https://review.coreboot.org/19989
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src/arch/arm/include/armv7.h')
-rw-r--r-- | src/arch/arm/include/armv7.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/arm/include/armv7.h b/src/arch/arm/include/armv7.h index 6622a6f9d4e1..bec7fd70334e 100644 --- a/src/arch/arm/include/armv7.h +++ b/src/arch/arm/include/armv7.h @@ -54,8 +54,8 @@ * However, we use the CP15 based instructions because we use * -march=armv5 in U-Boot */ -#define CP15ISB asm volatile ("mcr p15, 0, %0, c7, c5, 4" : : "r" (0)) -#define CP15DSB asm volatile ("mcr p15, 0, %0, c7, c10, 4" : : "r" (0)) -#define CP15DMB asm volatile ("mcr p15, 0, %0, c7, c10, 5" : : "r" (0)) +#define CP15ISB (asm volatile ("mcr p15, 0, %0, c7, c5, 4" : : "r" (0))) +#define CP15DSB (asm volatile ("mcr p15, 0, %0, c7, c10, 4" : : "r" (0))) +#define CP15DMB (asm volatile ("mcr p15, 0, %0, c7, c10, 5" : : "r" (0))) #endif /* ARMV7_H */ |