]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Remove unused code from STRICT_KERNEL_RWX
authorAtish Patra <atish.patra@wdc.com>
Mon, 4 May 2020 04:03:19 +0000 (21:03 -0700)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 6 May 2020 00:02:14 +0000 (17:02 -0700)
commit0213be7dba2118d83d309334576c4271114a772e
tree48e94f978d24d569cb2b918059105195c2132f58
parentdcd28180ee4f24e0e4a30f600244928953e3222f
RISC-V: Remove unused code from STRICT_KERNEL_RWX

This patch removes the unused functions set_kernel_text_rw/ro.
Currently, it is not being invoked from anywhere and no other architecture
(except arm) uses this code. Even in ARM, these functions are not invoked
from anywhere currently.

Fixes: db67a0013cbd ("riscv: add STRICT_KERNEL_RWX support")
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Zong Li <zong.li@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/set_memory.h
arch/riscv/mm/init.c