summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.39/950-vm_exports.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-25 19:32:00 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-25 19:32:00 +0000
commitc77971e8b44572a74af6e6504a70dbaeeeb167a2 (patch)
treec8b304a74befaef50372d4b883bb46e0209c0efd /target/linux/generic/patches-2.6.39/950-vm_exports.patch
parenta3c9e2fe7a4ff8242cdcdeec5f76f0988359aed7 (diff)
kernel: some updates for kernel 2.6.39
* add md5sum for kernel * add some missing config symbols * add some ssb patches to make compat-wireless compile Thank you Peter Wagner for the patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27009 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.39/950-vm_exports.patch')
-rw-r--r--target/linux/generic/patches-2.6.39/950-vm_exports.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/generic/patches-2.6.39/950-vm_exports.patch b/target/linux/generic/patches-2.6.39/950-vm_exports.patch
index 9fcaabc79..874b81041 100644
--- a/target/linux/generic/patches-2.6.39/950-vm_exports.patch
+++ b/target/linux/generic/patches-2.6.39/950-vm_exports.patch
@@ -1,6 +1,6 @@
--- a/mm/shmem.c
+++ b/mm/shmem.c
-@@ -2711,6 +2711,16 @@ out:
+@@ -2730,6 +2730,16 @@ out:
/* common code */
@@ -17,7 +17,7 @@
/**
* shmem_file_setup - get an unlinked file living in tmpfs
* @name: name for dentry (to be seen in /proc/<pid>/maps
-@@ -2788,10 +2798,7 @@ int shmem_zero_setup(struct vm_area_stru
+@@ -2807,10 +2817,7 @@ int shmem_zero_setup(struct vm_area_stru
if (IS_ERR(file))
return PTR_ERR(file);
@@ -32,7 +32,7 @@
}
--- a/fs/file.c
+++ b/fs/file.c
-@@ -264,6 +264,7 @@ int expand_files(struct files_struct *fi
+@@ -268,6 +268,7 @@ int expand_files(struct files_struct *fi
/* All good, so we try */
return expand_fdtable(files, nr);
}
@@ -78,7 +78,7 @@
/**
* zap_vma_ptes - remove ptes mapping the vma
-@@ -2756,6 +2757,7 @@ int vmtruncate_range(struct inode *inode
+@@ -2763,6 +2764,7 @@ int vmtruncate_range(struct inode *inode
return 0;
}
@@ -106,7 +106,7 @@
void *caller)
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
-@@ -871,6 +871,7 @@ extern void __show_free_areas(unsigned i
+@@ -872,6 +872,7 @@ extern void __show_free_areas(unsigned i
int shmem_lock(struct file *file, int lock, struct user_struct *user);
struct file *shmem_file_setup(const char *name, loff_t size, unsigned long flags);