[coreboot-gerrit] New patch to review for coreboot: arch/arm64: Fix compilation without CONFIG_SMP
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Mon Jun 29 17:10:26 CEST 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10696
-gerrit
commit 9b73a9a0fee108c96ae12af1f7c786f3238029c7
Author: Patrick Georgi <pgeorgi at chromium.org>
Date: Mon Jun 29 17:07:23 2015 +0200
arch/arm64: Fix compilation without CONFIG_SMP
Compilers aren't happy with a declaration of boot_cpu() after defining
boot_cpu to 1.
Change-Id: I22d0db61646f3e226e5996fa94223ffbb6b760e5
Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
src/arch/arm64/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/arch/arm64/cpu.c b/src/arch/arm64/cpu.c
index 3cf73ae..1b33c10 100644
--- a/src/arch/arm64/cpu.c
+++ b/src/arch/arm64/cpu.c
@@ -220,7 +220,9 @@ void arch_cpu_wait_for_action(void)
}
}
+#if IS_ENABLED(CONFIG_SMP)
int boot_cpu(void)
{
return cpu_is_bsp();
}
+#endif
More information about the coreboot-gerrit
mailing list