diff options
author | Dong Aisheng <[email protected]> | 2021-05-18 18:14:05 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2021-06-15 19:05:28 +0100 |
commit | 7957a3db01bf533a235a9ae9333150abbe6bde32 (patch) | |
tree | e126c0294a8ca14fc43edfa97f8ba58abdc98e9d | |
parent | f91671b5418bde81a7ce6bb2e9f3f4d41184b77c (diff) |
arm64: head: fix code comments in set_cpu_boot_mode_flag
Up to here, the CPU boot mode can either be EL1 or EL2.
Correct the code comments a bit.
Signed-off-by: Dong Aisheng <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
-rw-r--r-- | arch/arm64/kernel/head.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/head.S b/arch/arm64/kernel/head.S index d266b4c6287d..3b88000841d9 100644 --- a/arch/arm64/kernel/head.S +++ b/arch/arm64/kernel/head.S @@ -550,7 +550,7 @@ SYM_FUNC_START_LOCAL(set_cpu_boot_mode_flag) cmp w0, #BOOT_CPU_MODE_EL2 b.ne 1f add x1, x1, #4 -1: str w0, [x1] // This CPU has booted in EL1 +1: str w0, [x1] // Save CPU boot mode dmb sy dc ivac, x1 // Invalidate potentially stale cache line ret |