aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-06-14 20:42:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-06-14 20:42:18 +0000
commitcd6e7223fd568526f0bea3cce943de2c7b8b98b8 (patch)
treec664881a5a2fca73c74283d7bdc1a36ba43f436f /target/linux/generic-2.6
parent9cf81b33a2e2dabd109a583be51709df04d9d5d8 (diff)
downloadupstream-cd6e7223fd568526f0bea3cce943de2c7b8b98b8.tar.gz
upstream-cd6e7223fd568526f0bea3cce943de2c7b8b98b8.tar.bz2
upstream-cd6e7223fd568526f0bea3cce943de2c7b8b98b8.zip
add missing function declaration for extra vm exports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16456 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/980-vm_exports.patch10
1 files changed, 10 insertions, 0 deletions
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