summaryrefslogtreecommitdiffstats
path: root/arch/riscv/mm
diff options
context:
space:
mode:
authorAlexandre Ghiti <alex@ghiti.fr>2021-06-24 14:00:40 +0200
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-06-30 20:56:50 -0700
commitc10bc260e7c030364b5150aac7ebf048ddfb9502 (patch)
tree73c0c95f9270ad03463ab4e0483b85e692f4469f /arch/riscv/mm
parent7094e6acaf7ab869a1f1c34825ba1fe3173fe350 (diff)
downloadlinux-c10bc260e7c030364b5150aac7ebf048ddfb9502.tar.bz2
riscv: Introduce set_kernel_memory helper
This helper should be used for setting permissions to the kernel mapping as it takes pointers as arguments and then avoids explicit cast to unsigned long needed for the set_memory_* API. Suggested-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Alexandre Ghiti <alex@ghiti.fr> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Jisheng Zhang <jszhang@kernel.org> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/mm')
0 files changed, 0 insertions, 0 deletions