diff options
Diffstat (limited to 'include/linux/ksm.h')
-rw-r--r-- | include/linux/ksm.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/ksm.h b/include/linux/ksm.h index 7e2b1de399..401348e9f9 100644 --- a/include/linux/ksm.h +++ b/include/linux/ksm.h @@ -59,14 +59,6 @@ static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) return 0; } -static inline int ksm_execve(struct mm_struct *mm) -{ - if (test_bit(MMF_VM_MERGE_ANY, &mm->flags)) - return __ksm_enter(mm); - - return 0; -} - static inline void ksm_exit(struct mm_struct *mm) { if (test_bit(MMF_VM_MERGEABLE, &mm->flags)) @@ -115,11 +107,6 @@ static inline int ksm_fork(struct mm_struct *mm, struct mm_struct *oldmm) return 0; } -static inline int ksm_execve(struct mm_struct *mm) -{ - return 0; -} - static inline void ksm_exit(struct mm_struct *mm) { } |