Commit 0816b2ea authored by Huacai Chen's avatar Huacai Chen
Browse files

LoongArch: Add pgprot_nx() implementation



Commit cca98e9f ("mm: enforce that vmap can't map pages
executable") enforces the W^X protection by not allowing remapping
existing pages as executable. Add LoongArch bits so that LoongArch
can benefit the same protection.

Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 613d4164
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment