summaryrefslogtreecommitdiff
path: root/target/linux/patches/4.8.11/sh2.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-11 07:27:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-12-13 05:47:44 +0100
commit3aa598104ca4c6f8de67b228ced3e680fbcab677 (patch)
treea737c19928f8d853b97e5d655353a547df822fef /target/linux/patches/4.8.11/sh2.patch
parent9ce0683145795cdb3d35f0cd764e4765cc127f13 (diff)
sh2-nommu/j2: add better support and add required patches from musl-cross-make
Diffstat (limited to 'target/linux/patches/4.8.11/sh2.patch')
-rw-r--r--target/linux/patches/4.8.11/sh2.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/patches/4.8.11/sh2.patch b/target/linux/patches/4.8.11/sh2.patch
new file mode 100644
index 000000000..9debe80ad
--- /dev/null
+++ b/target/linux/patches/4.8.11/sh2.patch
@@ -0,0 +1,11 @@
+diff -Nur linux-4.8.11.orig/arch/sh/kernel/cpu/sh2/probe.c linux-4.8.11/arch/sh/kernel/cpu/sh2/probe.c
+--- linux-4.8.11.orig/arch/sh/kernel/cpu/sh2/probe.c 2016-11-26 09:57:13.000000000 +0100
++++ linux-4.8.11/arch/sh/kernel/cpu/sh2/probe.c 2016-12-10 10:38:27.997954035 +0100
+@@ -15,6 +15,7 @@
+ #include <linux/io.h>
+ #include <asm/processor.h>
+ #include <asm/cache.h>
++#include <asm/smp.h>
+
+ #if defined(CONFIG_CPU_J2)
+ extern u32 __iomem *j2_ccr_base;