add missing function declaration for extra vm exports
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.30 / 980-vm_exports.patch
index ab29c4a8605502cbf5b91445febc43503677b1ca..aaecec06a36c09fb8bdca5d24c31d8bd13173d3e 100644 (file)
  
  struct vm_struct *get_vm_area_caller(unsigned long size, unsigned long flags,
                                void *caller)
+--- a/include/linux/mm.h
++++ b/include/linux/mm.h
+@@ -728,6 +728,7 @@ static inline int shmem_lock(struct file
+ #endif
+ struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags);
++void shmem_set_file(struct vm_area_struct *vma, struct file *file);
+ int shmem_zero_setup(struct vm_area_struct *);
+ #ifndef CONFIG_MMU