aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/init.h
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2022-10-12 16:36:14 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2022-10-12 16:36:14 +0800
commit235d074fdc9a69e3720b8bb6efeb7c6d30c12d8e (patch)
tree2ad87b94ebfa30791c7c9cf2ccf4eb41a263ceeb /include/linux/init.h
parentLoongArch: Refactor cache probe and flush methods (diff)
downloadwireguard-linux-235d074fdc9a69e3720b8bb6efeb7c6d30c12d8e.tar.xz
wireguard-linux-235d074fdc9a69e3720b8bb6efeb7c6d30c12d8e.zip
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 'include/linux/init.h')
0 files changed, 0 insertions, 0 deletions