From 1fb2e1eb42f60f53286ca2268d1e4442cf17f1a5 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Thu, 16 Sep 2021 22:05:52 +0200 Subject: cpu: add missing arch/cpu.h includes Including arch/cpu.h is needed to have the declaration for cpuid_eax. Signed-off-by: Felix Held Change-Id: Ic22aba062117e3afa818fa2fc39cb0738e6a1612 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57725 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/cpu/amd/pi/00730F01/update_microcode.c | 1 + src/cpu/intel/common/fsb.c | 1 + src/cpu/intel/slot_1/l2_cache.c | 1 + 3 files changed, 3 insertions(+) (limited to 'src') diff --git a/src/cpu/amd/pi/00730F01/update_microcode.c b/src/cpu/amd/pi/00730F01/update_microcode.c index 8942f0146a..4496bdaac1 100644 --- a/src/cpu/amd/pi/00730F01/update_microcode.c +++ b/src/cpu/amd/pi/00730F01/update_microcode.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include #include #include #include diff --git a/src/cpu/intel/common/fsb.c b/src/cpu/intel/common/fsb.c index 73939f7e0a..350e8c693b 100644 --- a/src/cpu/intel/common/fsb.c +++ b/src/cpu/intel/common/fsb.c @@ -1,5 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include #include #include #include diff --git a/src/cpu/intel/slot_1/l2_cache.c b/src/cpu/intel/slot_1/l2_cache.c index 57d1fd4af0..2a273168f3 100644 --- a/src/cpu/intel/slot_1/l2_cache.c +++ b/src/cpu/intel/slot_1/l2_cache.c @@ -24,6 +24,7 @@ */ #include +#include #include #include #include -- cgit v1.2.3