0001
0002
0003
0004
0005
0006
0007 #ifndef _ASM_GENERIC_MM_HOOKS_H
0008 #define _ASM_GENERIC_MM_HOOKS_H
0009
0010 static inline int arch_dup_mmap(struct mm_struct *oldmm,
0011 struct mm_struct *mm)
0012 {
0013 return 0;
0014 }
0015
0016 static inline void arch_exit_mmap(struct mm_struct *mm)
0017 {
0018 }
0019
0020 static inline void arch_unmap(struct mm_struct *mm,
0021 unsigned long start, unsigned long end)
0022 {
0023 }
0024
0025 static inline bool arch_vma_access_permitted(struct vm_area_struct *vma,
0026 bool write, bool execute, bool foreign)
0027 {
0028
0029 return true;
0030 }
0031 #endif