OpenCloudOS-Kernel/arch/riscv
Atish Patra 73cb8e2a58
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: d27c3c9081 ("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>
2020-05-05 17:02:14 -07:00
..
boot RISC-V Patches for the 5.7 Merge Window, Part 1 2020-04-09 10:51:30 -07:00
configs RISC-V Patches for the 5.7 Merge Window, Part 1 2020-04-09 10:51:30 -07:00
include RISC-V: Remove unused code from STRICT_KERNEL_RWX 2020-05-05 17:02:14 -07:00
kernel riscv: force __cpu_up_ variables to put in data section 2020-05-04 15:03:25 -07:00
lib RISC-V Patches for the 5.7 Merge Window, Part 1 2020-04-09 10:51:30 -07:00
mm RISC-V: Remove unused code from STRICT_KERNEL_RWX 2020-05-05 17:02:14 -07:00
net riscv, bpf: Fix offset range checking for auipc+jalr on RV64 2020-04-08 00:53:41 +02:00
Kbuild riscv: add arch/riscv/Kbuild 2019-08-30 17:34:00 -07:00
Kconfig riscv: select ARCH_HAS_STRICT_KERNEL_RWX only if MMU 2020-04-24 11:40:40 -07:00
Kconfig.debug RISC-V: Remove EARLY_PRINTK support 2018-12-17 10:23:46 -08:00
Kconfig.socs RISC-V Patches for the 5.7 Merge Window, Part 1 2020-04-09 10:51:30 -07:00
Makefile RISC-V Patches for the 5.7 Merge Window, Part 1 2020-04-09 10:51:30 -07:00