diff options
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) |