diff options
author | Quentin Perret <qperret@google.com> | 2021-03-19 10:01:24 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-03-19 12:01:21 +0000 |
commit | 8f4de66e247b805e1b3d1c15367ee0ef4cbb6003 (patch) | |
tree | e468259f4521f39428b172508033fa352ac39cc2 /arch/arm64/include/asm/percpu.h | |
parent | bc1d2892e9aa6dcf6cd83adbd3616051cbd4c429 (diff) | |
download | linux-stable-8f4de66e247b805e1b3d1c15367ee0ef4cbb6003.tar.gz linux-stable-8f4de66e247b805e1b3d1c15367ee0ef4cbb6003.tar.bz2 linux-stable-8f4de66e247b805e1b3d1c15367ee0ef4cbb6003.zip |
arm64: asm: Provide set_sctlr_el2 macro
We will soon need to turn the EL2 stage 1 MMU on and off in nVHE
protected mode, so refactor the set_sctlr_el1 macro to make it usable
for that purpose.
Acked-by: Will Deacon <will@kernel.org>
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210319100146.1149909-17-qperret@google.com
Diffstat (limited to 'arch/arm64/include/asm/percpu.h')
0 files changed, 0 insertions, 0 deletions