Home
last modified time | relevance | path

Searched hist:e86935f705fa732d8c7c3ecf0c50ea461ffab76f (Results 1 – 1 of 1) sorted by relevance

/linux/arch/loongarch/mm/
H A DMakefilediff e86935f705fa732d8c7c3ecf0c50ea461ffab76f Tue Sep 24 09:32:20 CEST 2024 Huacai Chen <chenhuacai@loongson.cn> LoongArch: 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.

Note: We can only set attributes for KVRANGE/XKVRANGE kernel addresses.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>