summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.4/100-MIPS-fix-MT_SMP-cacheflush.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-06-15 14:17:06 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-15 14:36:47 +0200
commitbe7415810281b9ababe5fcec34236a0536af5939 (patch)
treecdff84325eba909f32255e33329ef9a2c67308cb /target/linux/generic/patches-4.4/100-MIPS-fix-MT_SMP-cacheflush.patch
parentb3be33f135f447d56ef9a5461e7e675d5cc35730 (diff)
downloadmtk-20170518-be7415810281b9ababe5fcec34236a0536af5939.zip
mtk-20170518-be7415810281b9ababe5fcec34236a0536af5939.tar.gz
mtk-20170518-be7415810281b9ababe5fcec34236a0536af5939.tar.bz2
kernel: replace SMP cacheflush fix with some patches from linux-mti.git
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/patches-4.4/100-MIPS-fix-MT_SMP-cacheflush.patch')
-rw-r--r--target/linux/generic/patches-4.4/100-MIPS-fix-MT_SMP-cacheflush.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/target/linux/generic/patches-4.4/100-MIPS-fix-MT_SMP-cacheflush.patch b/target/linux/generic/patches-4.4/100-MIPS-fix-MT_SMP-cacheflush.patch
deleted file mode 100644
index 14a10ba..0000000
--- a/target/linux/generic/patches-4.4/100-MIPS-fix-MT_SMP-cacheflush.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Fix crash on cache flush with the MT_SMP variant
-
-Signed-off-by: Felix Fietkau <nbd@nbd.name>
-
---- a/arch/mips/mm/c-r4k.c
-+++ b/arch/mips/mm/c-r4k.c
-@@ -60,8 +60,10 @@ static inline void r4k_on_each_cpu(void
- * to restrict that call when a CM is not present because both
- * CM-based SMP protocols (CMP & CPS) restrict index-based cache ops.
- */
-+#ifndef CONFIG_MIPS_MT_SMP
- if (!mips_cm_present())
- smp_call_function_many(&cpu_foreign_map, func, info, 1);
-+#endif
- func(info);
- preempt_enable();
- }