From 554266a19e43960977bb85b440c15fdebee76241 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 28 Feb 2010 20:50:57 +0000 Subject: [kernel] misc 2.6.33 compilation and config symbols fixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19920 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic-2.6/patches-2.6.33/980-vm_exports.patch | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'target/linux/generic-2.6/patches-2.6.33/980-vm_exports.patch') diff --git a/target/linux/generic-2.6/patches-2.6.33/980-vm_exports.patch b/target/linux/generic-2.6/patches-2.6.33/980-vm_exports.patch index 6eee31d2d..39b22150b 100644 --- a/target/linux/generic-2.6/patches-2.6.33/980-vm_exports.patch +++ b/target/linux/generic-2.6/patches-2.6.33/980-vm_exports.patch @@ -1,6 +1,14 @@ --- a/mm/shmem.c +++ b/mm/shmem.c -@@ -2620,6 +2620,16 @@ int shmem_lock(struct file *file, int lo +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + + static struct vfsmount *shm_mnt; + +@@ -2620,6 +2621,16 @@ int shmem_lock(struct file *file, int lo /* common code */ @@ -17,7 +25,7 @@ /** * shmem_file_setup - get an unlinked file living in tmpfs * @name: name for dentry (to be seen in /proc//maps -@@ -2697,9 +2707,6 @@ int shmem_zero_setup(struct vm_area_stru +@@ -2697,9 +2708,6 @@ int shmem_zero_setup(struct vm_area_stru if (IS_ERR(file)) return PTR_ERR(file); -- cgit v1.2.3