summaryrefslogtreecommitdiff
path: root/arch/loongarch/mm/init.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2022-10-12 11:36:14 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2022-10-12 11:36:14 +0300
commit235d074fdc9a69e3720b8bb6efeb7c6d30c12d8e (patch)
tree2ad87b94ebfa30791c7c9cf2ccf4eb41a263ceeb /arch/loongarch/mm/init.c
parentb61a40afca164a9bd066f749beff3bf209c5e209 (diff)
downloadlinux-235d074fdc9a69e3720b8bb6efeb7c6d30c12d8e.tar.xz
LoongArch: Support access filter to /dev/mem interface
Accidental access to /dev/mem is obviously disastrous, but specific access can be used by people debugging the kernel. So select GENERIC_ LIB_DEVMEM_IS_ALLOWED, as well as define ARCH_HAS_VALID_PHYS_ADDR_RANGE and related helpers, to support access filter to /dev/mem interface. Signed-off-by: Weihao Li <liweihao@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/mm/init.c')
0 files changed, 0 insertions, 0 deletions