diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2022-01-17 08:56:05 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-01-19 19:29:42 +0000 |
commit | 4ac35707d9f2d358487b58398597bc66d3b215e5 (patch) | |
tree | 8b6fdaa4a6c69b75d383f4fc885db0235778052d /src/arch/riscv/smp.c | |
parent | 0767da9fc90aeeaece0c1d5f532bf5d48ba6cb87 (diff) |
arch/riscv: Fix some SMP related headers
Change-Id: I58419450dbe34741b4f5b4920f435fdb91e9df22
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61143
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/arch/riscv/smp.c')
-rw-r--r-- | src/arch/riscv/smp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/riscv/smp.c b/src/arch/riscv/smp.c index 1d58602627..0a93763cb0 100644 --- a/src/arch/riscv/smp.c +++ b/src/arch/riscv/smp.c @@ -1,10 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include <arch/barrier.h> #include <arch/encoding.h> #include <arch/smp/smp.h> -#include <arch/smp/spinlock.h> -#include <mcall.h> +#include <arch/smp/atomic.h> #include <console/console.h> +#include <mcall.h> void smp_pause(int working_hartid) { |