aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/mm/Makefile
diff options
context:
space:
mode:
authorZong Li2020-03-10 00:55:36 +0800
committerPalmer Dabbelt2020-03-26 09:24:30 -0700
commitd3ab332a5021235a74fd832a49c6a99404920d88 (patch)
treeba42ec3402a210cf0ba0989696b3069ede5943bf /arch/riscv/mm/Makefile
parent9f40b6e77d2f888a8c0608036eb124cedb6d2434 (diff)
riscv: add ARCH_HAS_SET_MEMORY support
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>
Diffstat (limited to 'arch/riscv/mm/Makefile')
-rw-r--r--arch/riscv/mm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/mm/Makefile b/arch/riscv/mm/Makefile
index 50b7af58c566..e0e10b618273 100644
--- a/arch/riscv/mm/Makefile
+++ b/arch/riscv/mm/Makefile
@@ -7,7 +7,7 @@ endif
obj-y += init.o
obj-y += extable.o
-obj-$(CONFIG_MMU) += fault.o
+obj-$(CONFIG_MMU) += fault.o pageattr.o
obj-y += cacheflush.o
obj-y += context.o