summaryrefslogtreecommitdiff
path: root/arch/x86/mm/pgprot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/pgprot.c')
-rw-r--r--arch/x86/mm/pgprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/pgprot.c b/arch/x86/mm/pgprot.c
index c84bd9540b16..dc1afd5c839d 100644
--- a/arch/x86/mm/pgprot.c
+++ b/arch/x86/mm/pgprot.c
@@ -32,7 +32,7 @@ void add_encrypt_protection_map(void)
protection_map[i] = pgprot_encrypted(protection_map[i]);
}
-pgprot_t vm_get_page_prot(unsigned long vm_flags)
+pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
{
unsigned long val = pgprot_val(protection_map[vm_flags &
(VM_READ|VM_WRITE|VM_EXEC|VM_SHARED)]);