summaryrefslogtreecommitdiff
path: root/arch/x86/um/mem_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/mem_32.c')
-rw-r--r--arch/x86/um/mem_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/mem_32.c b/arch/x86/um/mem_32.c
index 19c5dbd46770..cafd01f730da 100644
--- a/arch/x86/um/mem_32.c
+++ b/arch/x86/um/mem_32.c
@@ -17,7 +17,7 @@ static int __init gate_vma_init(void)
gate_vma.vm_start = FIXADDR_USER_START;
gate_vma.vm_end = FIXADDR_USER_END;
gate_vma.vm_flags = VM_READ | VM_MAYREAD | VM_EXEC | VM_MAYEXEC;
- gate_vma.vm_page_prot = __P101;
+ gate_vma.vm_page_prot = PAGE_READONLY;
return 0;
}