Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/55188 )
Change subject: cpu/x86/lapic: Declare start_cpu() static ......................................................................
cpu/x86/lapic: Declare start_cpu() static
This is for the !PARALLEL_MP paths.
Change-Id: If4b91834a1b6de2a902ab914610ab76c1423f1e9 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- M src/cpu/x86/lapic/lapic_cpu_init.c M src/include/cpu/x86/lapic.h 2 files changed, 1 insertion(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/55188/1
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c index f89d9e3..31743c7 100644 --- a/src/cpu/x86/lapic/lapic_cpu_init.c +++ b/src/cpu/x86/lapic/lapic_cpu_init.c @@ -241,7 +241,7 @@ volatile unsigned long secondary_stack; volatile unsigned int secondary_cpu_index;
-int start_cpu(struct device *cpu) +static int start_cpu(struct device *cpu) { struct cpu_info *info; uintptr_t stack_top; diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h index bb62077..7eba327 100644 --- a/src/include/cpu/x86/lapic.h +++ b/src/include/cpu/x86/lapic.h @@ -190,7 +190,4 @@ disable_lapic(); }
-struct device; -int start_cpu(struct device *cpu); - #endif /* CPU_X86_LAPIC_H */