summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-08 08:18:18 +0100
committerMartin L Roth <martinroth@google.com>2022-04-24 21:20:57 +0000
commitfbe8cb62d73caebc40e341616ee78f1e1cadeb90 (patch)
treeca35b49674505be24b924a8449165c791ed0f9d6
parent43529c8b20611af9dccc783bc4196ec87279070b (diff)
{arch,cpu}: Remove redundant <arch/cpu.h>
<arch/cpu.h> is chain included through <cpu/cpu.h>. Change-Id: I54a837394f67ac2a759907c7212ab947d07338dc Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/60931 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <martinroth@google.com>
-rw-r--r--src/arch/x86/mpspec.c1
-rw-r--r--src/cpu/intel/model_206ax/model_206ax_init.c1
-rw-r--r--src/cpu/x86/mp_init.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c
index ba0c4f70ee..93058f1db2 100644
--- a/src/arch/x86/mpspec.c
+++ b/src/arch/x86/mpspec.c
@@ -6,7 +6,6 @@
#include <arch/ioapic.h>
#include <arch/smp/mpspec.h>
#include <string.h>
-#include <arch/cpu.h>
#include <cpu/cpu.h>
#include <cpu/x86/lapic.h>
#include <drivers/generic/ioapic/chip.h>
diff --git a/src/cpu/intel/model_206ax/model_206ax_init.c b/src/cpu/intel/model_206ax/model_206ax_init.c
index 520cd1b2db..6c44778cba 100644
--- a/src/cpu/intel/model_206ax/model_206ax_init.c
+++ b/src/cpu/intel/model_206ax/model_206ax_init.c
@@ -2,7 +2,6 @@
#include <console/console.h>
#include <device/device.h>
-#include <arch/cpu.h>
#include <cpu/cpu.h>
#include <cpu/x86/mtrr.h>
#include <cpu/x86/msr.h>
diff --git a/src/cpu/x86/mp_init.c b/src/cpu/x86/mp_init.c
index 81c987b668..51884f64a9 100644
--- a/src/cpu/x86/mp_init.c
+++ b/src/cpu/x86/mp_init.c
@@ -3,7 +3,6 @@
#include <console/console.h>
#include <string.h>
#include <rmodule.h>
-#include <arch/cpu.h>
#include <commonlib/helpers.h>
#include <cpu/cpu.h>
#include <cpu/intel/microcode.h>