mm/core, x86/mm/pkeys: Differentiate instruction fetches
[linux-2.6-block.git] / include / asm-generic / mm_hooks.h
index d5c9633bd9558acece222238299e9c7fcb34e7d3..cc5d9a1405df925c43ec62a03be03c30ae921f56 100644 (file)
@@ -27,7 +27,7 @@ static inline void arch_bprm_mm_init(struct mm_struct *mm,
 }
 
 static inline bool arch_vma_access_permitted(struct vm_area_struct *vma,
-               bool write, bool foreign)
+               bool write, bool execute, bool foreign)
 {
        /* by default, allow everything */
        return true;