Skip to content

Commit

Permalink
arch/arm64/kernel/head.S: {cpuinit} arch/arm64/kernel/head.S:
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Sep 17, 2021
1 parent fd006a0 commit 1ca7831
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
*/
SYM_CODE_START(primary_entry)
bl preserve_boot_args
bl init_cpu
bl init_kernel_el // w0=cpu_boot_mode
adrp x23, __PHYS_OFFSET
and x23, x23, MIN_KIMG_ALIGN - 1 // KASLR offset, defaults to 0
Expand Down Expand Up @@ -624,7 +625,9 @@ SYM_FUNC_END(secondary_holding_pen)
* Secondary entry point that jumps straight into the kernel. Only to
* be used where CPUs are brought online dynamically by the kernel.
*/
#include "m1n1-chickens.S"
SYM_FUNC_START(secondary_entry)
bl init_cpu
bl init_kernel_el // w0=cpu_boot_mode
bl set_cpu_boot_mode_flag
b secondary_startup
Expand Down

0 comments on commit 1ca7831

Please sign in to comment.