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>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55188
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2021-05-29 21:10:51 +03:00
parent 176989a48b
commit 67d07a64e3
2 changed files with 1 additions and 4 deletions

View File

@ -241,7 +241,7 @@ static void *stacks[CONFIG_MAX_CPUS];
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;

View File

@ -139,7 +139,4 @@ static inline void setup_lapic(void)
disable_lapic();
}
struct device;
int start_cpu(struct device *cpu);
#endif /* CPU_X86_LAPIC_H */