]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/nommu.c
Merge tag 'configfs-for-4.10' of git://git.infradead.org/users/hch/configfs
[karo-tx-linux.git] / mm / nommu.c
index db5fd1795298764d06abc9a6fdbc1657cc3dcd2b..9720e0bab0298fcec3855d7300934eb9e6223b4c 100644 (file)
@@ -109,7 +109,7 @@ unsigned int kobjsize(const void *objp)
        return PAGE_SIZE << compound_order(page);
 }
 
-long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
+static long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
                      unsigned long start, unsigned long nr_pages,
                      unsigned int foll_flags, struct page **pages,
                      struct vm_area_struct **vmas, int *nonblocking)
@@ -1878,6 +1878,7 @@ int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, in
        mmput(mm);
        return len;
 }
+EXPORT_SYMBOL_GPL(access_process_vm);
 
 /**
  * nommu_shrink_inode_mappings - Shrink the shared mappings on an inode