]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/s390/include/asm/mmu_context.h
Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / s390 / include / asm / mmu_context.h
index e485817f7b1a97683e64ab04d1f7444e1aae2e1d..d321469eeda7316205f019b7201f54f68a71d79b 100644 (file)
@@ -136,4 +136,16 @@ 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 execute, bool foreign)
+{
+       /* by default, allow everything */
+       return true;
+}
+
+static inline bool arch_pte_access_permitted(pte_t pte, bool write)
+{
+       /* by default, allow everything */
+       return true;
+}
 #endif /* __S390_MMU_CONTEXT_H */