Skip to content

Commit 7a28120

Browse files
author
Ard Biesheuvel
committed
arm64: kernel: don't export local symbols from head.S
This unexports some symbols from head.S that are only used locally. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Will Deacon <will.deacon@arm.com> (cherry picked from commit 190c056fc32a528979807cb5d5a0d68285933073) Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
1 parent 1261c78 commit 7a28120

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

arch/arm64/kernel/head.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ ENDPROC(el2_setup)
611611
* Sets the __boot_cpu_mode flag depending on the CPU boot mode passed
612612
* in x20. See arch/arm64/include/asm/virt.h for more info.
613613
*/
614-
ENTRY(set_cpu_boot_mode_flag)
614+
set_cpu_boot_mode_flag:
615615
adr_l x1, __boot_cpu_mode
616616
cmp w20, #BOOT_CPU_MODE_EL2
617617
b.ne 1f
@@ -664,7 +664,7 @@ ENTRY(secondary_entry)
664664
b secondary_startup
665665
ENDPROC(secondary_entry)
666666

667-
ENTRY(secondary_startup)
667+
secondary_startup:
668668
/*
669669
* Common entry point for secondary CPUs.
670670
*/
@@ -679,7 +679,7 @@ ENTRY(secondary_startup)
679679
ENDPROC(secondary_startup)
680680
0: .long (_text - TEXT_OFFSET) - __secondary_switched
681681

682-
ENTRY(__secondary_switched)
682+
__secondary_switched:
683683
adr_l x5, vectors
684684
msr vbar_el1, x5
685685
isb

0 commit comments

Comments
 (0)