Commit 153c46fa authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Palmer Dabbelt

riscv: head: make secondary_start_common() static

There are no users outside head.S so make secondary_start_common()
static.
Signed-off-by: default avatarJisheng Zhang <jszhang@kernel.org>
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 7f3de1ad
...@@ -177,8 +177,7 @@ secondary_start_sbi: ...@@ -177,8 +177,7 @@ secondary_start_sbi:
REG_L sp, (a4) REG_L sp, (a4)
REG_L tp, (a5) REG_L tp, (a5)
.global secondary_start_common .Lsecondary_start_common:
secondary_start_common:
#ifdef CONFIG_MMU #ifdef CONFIG_MMU
/* Enable virtual memory and relocate to virtual address */ /* Enable virtual memory and relocate to virtual address */
...@@ -365,7 +364,7 @@ clear_bss_done: ...@@ -365,7 +364,7 @@ clear_bss_done:
beqz tp, .Lwait_for_cpu_up beqz tp, .Lwait_for_cpu_up
fence fence
tail secondary_start_common tail .Lsecondary_start_common
#endif #endif
END(_start_kernel) END(_start_kernel)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment