diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2017-06-27 21:51:20 +0200 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2017-06-28 00:23:18 +0000 |
commit | 70083a1de9e12d8dbd3ba70e7a36a7282090f0e0 (patch) | |
tree | cbd182331cc2d5f5248669d95d179212ec6796c2 /payloads/libpayload/include | |
parent | 42b37f537ff59eb28b85f99cc592d14724788575 (diff) |
payloads: Add whitespace around '<<'
Change-Id: I0659f6ec59fb808b4cedf57d60d737c13c250042
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/20396
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/arm64/arch/lib_helpers.h | 8 | ||||
-rw-r--r-- | payloads/libpayload/include/stddef.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/payloads/libpayload/include/arm64/arch/lib_helpers.h b/payloads/libpayload/include/arm64/arch/lib_helpers.h index ca6843587e..2b346c4d41 100644 --- a/payloads/libpayload/include/arm64/arch/lib_helpers.h +++ b/payloads/libpayload/include/arm64/arch/lib_helpers.h @@ -98,10 +98,10 @@ #include <stdint.h> -#define DAIF_DBG_BIT (1<<3) -#define DAIF_ABT_BIT (1<<2) -#define DAIF_IRQ_BIT (1<<1) -#define DAIF_FIQ_BIT (1<<0) +#define DAIF_DBG_BIT (1 << 3) +#define DAIF_ABT_BIT (1 << 2) +#define DAIF_IRQ_BIT (1 << 1) +#define DAIF_FIQ_BIT (1 << 0) #define SWITCH_CASE_READ(func, var, type, el) do { \ type var = -1; \ diff --git a/payloads/libpayload/include/stddef.h b/payloads/libpayload/include/stddef.h index fe455b8a23..3288487fbc 100644 --- a/payloads/libpayload/include/stddef.h +++ b/payloads/libpayload/include/stddef.h @@ -21,9 +21,9 @@ typedef __SIZE_TYPE__ ssize_t; "`struct " #structure "` offset for `" #member "` is not " #offset) /* Standard units. */ -#define KiB (1<<10) -#define MiB (1<<20) -#define GiB (1<<30) +#define KiB (1 << 10) +#define MiB (1 << 20) +#define GiB (1 << 30) #define KHz (1000) #define MHz (1000*KHz) |