From e2d152c118af73500d5c6162c0c1407712458742 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 21 Jun 2019 07:06:50 +0200 Subject: arch: Add missing #include ALIGN((a), b) and ALIGN_UP(a, b) needs 'helpers.h' Change-Id: I029c7c5cbb19c7e69997b3d84f929cb61e8e2b23 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/33657 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/arch/arm/armv7/mmu.c | 1 + src/arch/arm/cpu.c | 1 + src/arch/arm64/fit_payload.c | 1 + src/arch/x86/acpi.c | 1 + src/arch/x86/acpi_s3.c | 1 + src/arch/x86/gdt.c | 1 + src/arch/x86/include/arch/early_variables.h | 1 + src/arch/x86/pirq_routing.c | 1 + src/arch/x86/smbios.c | 1 + src/arch/x86/tables.c | 1 + 10 files changed, 10 insertions(+) (limited to 'src/arch') diff --git a/src/arch/arm/armv7/mmu.c b/src/arch/arm/armv7/mmu.c index ce9d3fd9d8..b3133a08b7 100644 --- a/src/arch/arm/armv7/mmu.c +++ b/src/arch/arm/armv7/mmu.c @@ -29,6 +29,7 @@ */ #include +#include #include #include #include diff --git a/src/arch/arm/cpu.c b/src/arch/arm/cpu.c index 93d5675f35..87fc6b17cc 100644 --- a/src/arch/arm/cpu.c +++ b/src/arch/arm/cpu.c @@ -29,6 +29,7 @@ */ #include #include +#include /* Return the CPU struct which is at the high memory address of the stack. */ diff --git a/src/arch/arm64/fit_payload.c b/src/arch/arm64/fit_payload.c index fd1bae171a..46bea23053 100644 --- a/src/arch/arm64/fit_payload.c +++ b/src/arch/arm64/fit_payload.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index 71fc4e208f..80923e3edd 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -44,6 +44,7 @@ #include #include #include +#include #include #include #include diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c index 4c573033da..049fb12e75 100644 --- a/src/arch/x86/acpi_s3.c +++ b/src/arch/x86/acpi_s3.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/src/arch/x86/gdt.c b/src/arch/x86/gdt.c index d3ad01e1df..81756ff568 100644 --- a/src/arch/x86/gdt.c +++ b/src/arch/x86/gdt.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include diff --git a/src/arch/x86/include/arch/early_variables.h b/src/arch/x86/include/arch/early_variables.h index b3042c34d2..a69c230596 100644 --- a/src/arch/x86/include/arch/early_variables.h +++ b/src/arch/x86/include/arch/early_variables.h @@ -17,6 +17,7 @@ #define ARCH_EARLY_VARIABLES_H #include +#include #include #if ENV_CACHE_AS_RAM && !CONFIG(NO_CAR_GLOBAL_MIGRATION) diff --git a/src/arch/x86/pirq_routing.c b/src/arch/x86/pirq_routing.c index 70df201c99..15d7411b3f 100644 --- a/src/arch/x86/pirq_routing.c +++ b/src/arch/x86/pirq_routing.c @@ -16,6 +16,7 @@ */ #include #include +#include #include #include diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c index be090217ae..2f5c3a643e 100644 --- a/src/arch/x86/smbios.c +++ b/src/arch/x86/smbios.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/src/arch/x86/tables.c b/src/arch/x86/tables.c index 3cc385b530..0baa58eb2b 100644 --- a/src/arch/x86/tables.c +++ b/src/arch/x86/tables.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3