riscv: don't read back satp in paging_init
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Jan 2018 14:00:36 +0000 (15:00 +0100)
committerPalmer Dabbelt <palmer@dabbelt.com>
Wed, 31 Jan 2018 03:16:07 +0000 (19:16 -0800)
commit372def1f934134cb391234ccdf23c21ae94343c2
tree04051029e0ae6a768d4026e8bc575d26fdbe9c6b
parent0ca7a0b7c13ecafd12b37a6793d3e302dfea0475
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>
arch/riscv/mm/init.c