From: Felix Fietkau Date: Sun, 14 Jun 2009 20:42:18 +0000 (+0000) Subject: add missing function declaration for extra vm exports X-Git-Tag: reboot~23193 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4bc008142ce10980e3d4e21fd4c6cd99f4d1484f;p=openwrt%2Fstaging%2Fpepe2k.git add missing function declaration for extra vm exports SVN-Revision: 16456 --- diff --git a/target/linux/generic-2.6/patches-2.6.30/980-vm_exports.patch b/target/linux/generic-2.6/patches-2.6.30/980-vm_exports.patch index ab29c4a860..aaecec06a3 100644 --- a/target/linux/generic-2.6/patches-2.6.30/980-vm_exports.patch +++ b/target/linux/generic-2.6/patches-2.6.30/980-vm_exports.patch @@ -114,3 +114,13 @@ 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