diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-05-29 21:10:51 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-06-07 21:05:46 +0000 |
commit | 67d07a64e335402166b1bd484e22f8f9e256baad (patch) | |
tree | 87f81899ed775acea9ea564b640d21f66a2adc5f /src/cpu/x86/lapic/lapic_cpu_init.c | |
parent | 176989a48b95ccb92c0aab9b1a557e6b72871211 (diff) |
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>
Diffstat (limited to 'src/cpu/x86/lapic/lapic_cpu_init.c')
-rw-r--r-- | src/cpu/x86/lapic/lapic_cpu_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c index 29f3724b18..d4718c60cc 100644 --- a/src/cpu/x86/lapic/lapic_cpu_init.c +++ b/src/cpu/x86/lapic/lapic_cpu_init.c @@ -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; |