mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-31 22:23:05 +00:00

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>
14 lines
365 B
Makefile
14 lines
365 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Linux/LoongArch-specific parts of the memory manager.
|
|
#
|
|
|
|
obj-y += init.o cache.o tlb.o tlbex.o extable.o \
|
|
fault.o ioremap.o maccess.o mmap.o pgtable.o \
|
|
page.o pageattr.o
|
|
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
|
obj-$(CONFIG_KASAN) += kasan_init.o
|
|
|
|
KASAN_SANITIZE_kasan_init.o := n
|