aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2015-02-10 17:09:59 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-10 17:30:31 -0500
commit27ba0644ea9dfe6e7693abc85837b60e40583b96 (patch)
treea1e04ba5026728711bde87cb2f336d2444ee6ffe /include/linux/mm.h
parent1da4b35b001481df99a6dcab12d5d39a876f7056 (diff)
rmap: drop support of non-linear mappings
We don't create non-linear mappings anymore. Let's drop code which handles them in rmap. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 2ddd9d1d6268..18391eec4864 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1796,12 +1796,6 @@ struct vm_area_struct *vma_interval_tree_iter_next(struct vm_area_struct *node,
1796 for (vma = vma_interval_tree_iter_first(root, start, last); \ 1796 for (vma = vma_interval_tree_iter_first(root, start, last); \
1797 vma; vma = vma_interval_tree_iter_next(vma, start, last)) 1797 vma; vma = vma_interval_tree_iter_next(vma, start, last))
1798 1798
1799static inline void vma_nonlinear_insert(struct vm_area_struct *vma,
1800 struct list_head *list)
1801{
1802 list_add_tail(&vma->shared.nonlinear, list);
1803}
1804
1805void anon_vma_interval_tree_insert(struct anon_vma_chain *node, 1799void anon_vma_interval_tree_insert(struct anon_vma_chain *node,
1806 struct rb_root *root); 1800 struct rb_root *root);
1807void anon_vma_interval_tree_remove(struct anon_vma_chain *node, 1801void anon_vma_interval_tree_remove(struct anon_vma_chain *node,