aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap_xip.c
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2015-02-10 17:09:54 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-10 17:30:30 -0500
commitd83a08db5ba6072caa658745881f4baa9bad6a08 (patch)
tree11cc7fa3b789f1b3a01b70a66661e9b2ad8ceb15 /mm/filemap_xip.c
parent9b4bdd2ffab9557ac43af7dff02e7dab1c8c58bd (diff)
mm: drop vm_ops->remap_pages and generic_file_remap_pages() stub
Nobody uses it anymore. [akpm@linux-foundation.org: fix filemap_xip.c] Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap_xip.c')
-rw-r--r--mm/filemap_xip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/filemap_xip.c b/mm/filemap_xip.c
index 0d105aeff82f..70c09da1a419 100644
--- a/mm/filemap_xip.c
+++ b/mm/filemap_xip.c
@@ -301,7 +301,6 @@ out:
301static const struct vm_operations_struct xip_file_vm_ops = { 301static const struct vm_operations_struct xip_file_vm_ops = {
302 .fault = xip_file_fault, 302 .fault = xip_file_fault,
303 .page_mkwrite = filemap_page_mkwrite, 303 .page_mkwrite = filemap_page_mkwrite,
304 .remap_pages = generic_file_remap_pages,
305}; 304};
306 305
307int xip_file_mmap(struct file * file, struct vm_area_struct * vma) 306int xip_file_mmap(struct file * file, struct vm_area_struct * vma)