summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-09-17 00:18:01 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-17 22:31:58 +0000
commitae546ecc27aa0449352e15956fc29fd0d5916403 (patch)
tree2a7c15a39660dee3f4468cc94986297826787b45
parent6266c417a28a71eddd70c2cf2bfaaf63d1dbc0ef (diff)
drivers/gic/gic: add missing arch/cpu.h include
smp_processor_id is defined in src/arch/arm64/include/armv8/arch/cpu.h. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I0b610189bf439774cb900f74559dee314cbc5854 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57728 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
-rw-r--r--src/drivers/gic/gic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/gic/gic.c b/src/drivers/gic/gic.c
index 12cedfcf21..610c0b8e89 100644
--- a/src/drivers/gic/gic.c
+++ b/src/drivers/gic/gic.c
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <arch/cpu.h>
#include <device/mmio.h>
#include <console/console.h>
#include <gic.h>