aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ksm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ksm.h')
-rw-r--r--include/linux/ksm.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/ksm.h b/include/linux/ksm.h
index 0eef8cb0baf7..91b9719722c3 100644
--- a/include/linux/ksm.h
+++ b/include/linux/ksm.h
@@ -75,7 +75,6 @@ struct page *ksm_might_need_to_copy(struct page *page,
75 75
76int page_referenced_ksm(struct page *page, 76int page_referenced_ksm(struct page *page,
77 struct mem_cgroup *memcg, unsigned long *vm_flags); 77 struct mem_cgroup *memcg, unsigned long *vm_flags);
78int try_to_unmap_ksm(struct page *page, enum ttu_flags flags);
79int rmap_walk_ksm(struct page *page, struct rmap_walk_control *rwc); 78int rmap_walk_ksm(struct page *page, struct rmap_walk_control *rwc);
80void ksm_migrate_page(struct page *newpage, struct page *oldpage); 79void ksm_migrate_page(struct page *newpage, struct page *oldpage);
81 80
@@ -114,11 +113,6 @@ static inline int page_referenced_ksm(struct page *page,
114 return 0; 113 return 0;
115} 114}
116 115
117static inline int try_to_unmap_ksm(struct page *page, enum ttu_flags flags)
118{
119 return 0;
120}
121
122static inline int rmap_walk_ksm(struct page *page, 116static inline int rmap_walk_ksm(struct page *page,
123 struct rmap_walk_control *rwc) 117 struct rmap_walk_control *rwc)
124{ 118{