diff options
| author | 2020-03-10 00:55:44 +0800 | |
|---|---|---|
| committer | 2020-03-26 09:24:55 -0700 | |
| commit | 8fdddb2eae731dd6beb89f9b812e5915d1beb744 (patch) | |
| tree | 698aa44a6e112eb6a8fa5a695097f798c54cd2d0 /include/linux/phy/git:/ssh: | |
| parent | riscv: introduce interfaces to patch kernel code (diff) | |
| download | linux-dev-8fdddb2eae731dd6beb89f9b812e5915d1beb744.tar.xz linux-dev-8fdddb2eae731dd6beb89f9b812e5915d1beb744.zip | |
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 'include/linux/phy/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
