summaryrefslogtreecommitdiff
path: root/src/cpu/x86/mp_init.c
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-10-19 18:04:27 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-10-20 17:28:09 +0000
commitedc5af552a3c706f29ee6cd80d93052f61742737 (patch)
tree853745fc7c502f430baeabcf26032a8431322f97 /src/cpu/x86/mp_init.c
parent41ba01bb95e146fda62e2b778e50965024acf457 (diff)
cpu/x86/mp_init: use types.h include
Using types.h as include instead of stddef.h and stdint.h will also provide commonlib/bsd/cb_err.h which will be used in follow-up patches. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I08a68dc827d60c6c9a27b3ec8b74b9c8a2c96d12 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58452 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/x86/mp_init.c')
-rw-r--r--src/cpu/x86/mp_init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/x86/mp_init.c b/src/cpu/x86/mp_init.c
index 497ed3cfc5..1061f81c8a 100644
--- a/src/cpu/x86/mp_init.c
+++ b/src/cpu/x86/mp_init.c
@@ -1,8 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <console/console.h>
-#include <stddef.h>
-#include <stdint.h>
#include <string.h>
#include <rmodule.h>
#include <arch/cpu.h>
@@ -25,6 +23,7 @@
#include <symbols.h>
#include <timer.h>
#include <thread.h>
+#include <types.h>
#include <security/intel/stm/SmmStm.h>