summaryrefslogtreecommitdiffstats
path: root/arch/riscv/kernel/head.S
diff options
context:
space:
mode:
authorChristoph Hellwig2018-01-09 15:00:36 +0100
committerPalmer Dabbelt2018-01-31 04:16:07 +0100
commit372def1f934134cb391234ccdf23c21ae94343c2 (patch)
tree04051029e0ae6a768d4026e8bc575d26fdbe9c6b /arch/riscv/kernel/head.S
parentriscv: remove the unused current_pgdir function (diff)
downloadkernel-qcow2-linux-372def1f934134cb391234ccdf23c21ae94343c2.tar.gz
kernel-qcow2-linux-372def1f934134cb391234ccdf23c21ae94343c2.tar.xz
kernel-qcow2-linux-372def1f934134cb391234ccdf23c21ae94343c2.zip
riscv: don't read back satp in paging_init
init_mm.pgd (aka swapped_pgd) gets relocated like all other kernel symbols by the elf loader, so there is no need to reload it from satp. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/kernel/head.S')
0 files changed, 0 insertions, 0 deletions