um: support some of ARCH_HAS_SET_MEMORY
authorJohannes Berg <johannes.berg@intel.com>
Sat, 5 Dec 2020 20:50:17 +0000 (21:50 +0100)
committerRichard Weinberger <richard@nod.at>
Sun, 13 Dec 2020 21:38:06 +0000 (22:38 +0100)
commit963285b0b47a1b8e1dfa5481717855a7057ccec6
tree5cc496b11441604641ded80b7fc1b8551993f7c5
parent58b09f68697066dfde948153c82dd5d85e10f127
um: support some of ARCH_HAS_SET_MEMORY

For now, only support set_memory_ro()/rw() which we need for
the stack protection in the next patch.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/Kconfig
arch/um/include/asm/pgtable.h
arch/um/include/asm/set_memory.h [new file with mode: 0644]
arch/um/kernel/tlb.c