From 2c6502bc88ad2f7e6e1f0f1d90f8bedc645f8eac Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 27 Oct 2010 10:02:03 +0000 Subject: [PATCH] [kernel] refresh 2.6.35 patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23651 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-2.6.35/009-decompress_unlzo_fix.patch | 12 ++++-------- .../generic/patches-2.6.35/980-vm_exports.patch | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/target/linux/generic/patches-2.6.35/009-decompress_unlzo_fix.patch b/target/linux/generic/patches-2.6.35/009-decompress_unlzo_fix.patch index 482923dfd..37e322ad8 100644 --- a/target/linux/generic/patches-2.6.35/009-decompress_unlzo_fix.patch +++ b/target/linux/generic/patches-2.6.35/009-decompress_unlzo_fix.patch @@ -1,7 +1,5 @@ -Index: linux-2.6.35.7/include/linux/decompress/unlzo_mm.h -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.35.7/include/linux/decompress/unlzo_mm.h 2010-10-23 09:32:04.000000000 +0800 +--- /dev/null ++++ b/include/linux/decompress/unlzo_mm.h @@ -0,0 +1,10 @@ +#ifndef UNLZO_MM_H +#define UNLZO_MM_H @@ -13,10 +11,8 @@ Index: linux-2.6.35.7/include/linux/decompress/unlzo_mm.h +#endif + +#endif -Index: linux-2.6.35.7/lib/decompress_unlzo.c -=================================================================== ---- linux-2.6.35.7.orig/lib/decompress_unlzo.c 2010-10-23 09:29:09.000000000 +0800 -+++ linux-2.6.35.7/lib/decompress_unlzo.c 2010-10-23 09:32:53.000000000 +0800 +--- a/lib/decompress_unlzo.c ++++ b/lib/decompress_unlzo.c @@ -39,6 +39,7 @@ #include diff --git a/target/linux/generic/patches-2.6.35/980-vm_exports.patch b/target/linux/generic/patches-2.6.35/980-vm_exports.patch index 73a221af8..8a021e24c 100644 --- a/target/linux/generic/patches-2.6.35/980-vm_exports.patch +++ b/target/linux/generic/patches-2.6.35/980-vm_exports.patch @@ -122,7 +122,7 @@ void *caller) --- a/include/linux/mm.h +++ b/include/linux/mm.h -@@ -732,6 +732,7 @@ extern void show_free_areas(void); +@@ -736,6 +736,7 @@ extern void show_free_areas(void); 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); -- 2.20.1