+1
−0
arch/riscv/include/asm/set_memory.h
0 → 100644
+24
−0
+1
−1
arch/riscv/mm/pageattr.c
0 → 100644
+150
−0
Loading
Add set_memory_ro/rw/x/nx architecture hooks to change the page attribution. Use own set_memory.h rather than generic set_memory.h (i.e. include/asm-generic/set_memory.h), because we want to add other function prototypes here. Signed-off-by:Zong Li <zong.li@sifive.com> Signed-off-by:
Palmer Dabbelt <palmerdabbelt@google.com>