Skip to content

Commit

Permalink
arm64: kernel: don't export local symbols from head.S
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ard Biesheuvel authored and Will Deacon committed Apr 26, 2016
1 parent 44dbcc9 commit 190c056
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ ENDPROC(el2_setup)
* Sets the __boot_cpu_mode flag depending on the CPU boot mode passed
* in x20. See arch/arm64/include/asm/virt.h for more info.
*/
ENTRY(set_cpu_boot_mode_flag)
set_cpu_boot_mode_flag:
adr_l x1, __boot_cpu_mode
cmp w20, #BOOT_CPU_MODE_EL2
b.ne 1f
Expand Down Expand Up @@ -691,7 +691,7 @@ ENTRY(secondary_entry)
b secondary_startup
ENDPROC(secondary_entry)

ENTRY(secondary_startup)
secondary_startup:
/*
* Common entry point for secondary CPUs.
*/
Expand All @@ -706,7 +706,7 @@ ENTRY(secondary_startup)
ENDPROC(secondary_startup)
0: .long (_text - TEXT_OFFSET) - __secondary_switched

ENTRY(__secondary_switched)
__secondary_switched:
adr_l x5, vectors
msr vbar_el1, x5
isb
Expand Down

0 comments on commit 190c056

Please sign in to comment.