summaryrefslogtreecommitdiff
path: root/arch/riscv/mm/ptdump.c
diff options
context:
space:
mode:
authorZong Li <zong.li@sifive.com>2020-03-09 19:55:44 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-03-26 19:24:55 +0300
commit8fdddb2eae731dd6beb89f9b812e5915d1beb744 (patch)
tree698aa44a6e112eb6a8fa5a695097f798c54cd2d0 /arch/riscv/mm/ptdump.c
parent043cb41a85de1c0e944da61ad7a264960e22c865 (diff)
downloadlinux-8fdddb2eae731dd6beb89f9b812e5915d1beb744.tar.xz
riscv: patch code by fixmap mapping
On strict kernel memory permission, the ftrace have to change the permission of text for dynamic patching the intructions. Use riscv_patch_text_nosync() to patch code instead of probe_kernel_write. Signed-off-by: Zong Li <zong.li@sifive.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/mm/ptdump.c')
0 files changed, 0 insertions, 0 deletions