]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: Introduce functions to switch pt_ops
authorAlexandre Ghiti <alexandre.ghiti@canonical.com>
Mon, 6 Dec 2021 10:46:47 +0000 (11:46 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 20 Jan 2022 01:54:06 +0000 (17:54 -0800)
commit24ce4a65414efa2aef455ec3fbb5ff34c0bade83
treecd2139947ce68608732ce43e54ede76cf09ae0cd
parenteecad1289da88349d2a98942a89bea0515bcfebf
riscv: Introduce functions to switch pt_ops

This simply gathers the different pt_ops initialization in functions
where a comment was added to explain why the page table operations must
be changed along the boot process.

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/init.c