summaryrefslogtreecommitdiff
path: root/target/linux/patches/3.11.5
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/patches/3.11.5')
-rw-r--r--target/linux/patches/3.11.5/export-symbol-for-exmap.patch11
-rw-r--r--target/linux/patches/3.11.5/mips-lzo-fix.patch12
-rw-r--r--target/linux/patches/3.11.5/ppc64-missing-zlib.patch11
3 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/patches/3.11.5/export-symbol-for-exmap.patch b/target/linux/patches/3.11.5/export-symbol-for-exmap.patch
new file mode 100644
index 000000000..4f0fc8449
--- /dev/null
+++ b/target/linux/patches/3.11.5/export-symbol-for-exmap.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-3.11.5.orig/kernel/pid.c linux-3.11.5/kernel/pid.c
+--- linux-3.11.5.orig/kernel/pid.c 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/kernel/pid.c 2013-10-29 15:37:02.000000000 +0100
+@@ -450,6 +450,7 @@
+ {
+ return find_task_by_pid_ns(vnr, task_active_pid_ns(current));
+ }
++EXPORT_SYMBOL(find_task_by_vpid);
+
+ struct pid *get_task_pid(struct task_struct *task, enum pid_type type)
+ {
diff --git a/target/linux/patches/3.11.5/mips-lzo-fix.patch b/target/linux/patches/3.11.5/mips-lzo-fix.patch
new file mode 100644
index 000000000..0740bdc6a
--- /dev/null
+++ b/target/linux/patches/3.11.5/mips-lzo-fix.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-3.11.5.orig/arch/mips/boot/compressed/decompress.c linux-3.11.5/arch/mips/boot/compressed/decompress.c
+--- linux-3.11.5.orig/arch/mips/boot/compressed/decompress.c 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/arch/mips/boot/compressed/decompress.c 2013-11-08 18:19:47.000000000 +0100
+@@ -43,7 +43,7 @@
+ /* activate the code for pre-boot environment */
+ #define STATIC static
+
+-#ifdef CONFIG_KERNEL_GZIP
++#if defined(CONFIG_KERNEL_GZIP) || defined(CONFIG_KERNEL_LZO)
+ void *memcpy(void *dest, const void *src, size_t n)
+ {
+ int i;
diff --git a/target/linux/patches/3.11.5/ppc64-missing-zlib.patch b/target/linux/patches/3.11.5/ppc64-missing-zlib.patch
new file mode 100644
index 000000000..c6e0616be
--- /dev/null
+++ b/target/linux/patches/3.11.5/ppc64-missing-zlib.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-3.11.5.orig/arch/powerpc/platforms/pseries/Kconfig linux-3.11.5/arch/powerpc/platforms/pseries/Kconfig
+--- linux-3.11.5.orig/arch/powerpc/platforms/pseries/Kconfig 2013-10-14 03:14:45.000000000 +0200
++++ linux-3.11.5/arch/powerpc/platforms/pseries/Kconfig 2013-11-01 15:23:09.000000000 +0100
+@@ -17,6 +17,7 @@
+ select PPC_NATIVE
+ select PPC_PCI_CHOICE if EXPERT
+ select ZLIB_DEFLATE
++ select ZLIB_INFLATE
+ select PPC_DOORBELL
+ select HAVE_CONTEXT_TRACKING
+ select HOTPLUG_CPU if SMP