aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-4.14/0155-lantiq-VPE-nosmp.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2017-11-12 22:27:14 +0100
committerMathias Kresin <dev@kresin.me>2018-02-20 19:25:17 +0100
commit5eeaba31b8fad26d6ed0f1b52a7f156d838326b8 (patch)
tree68cf1e63fe05965a5b6ad7ad096ba33589126329 /target/linux/lantiq/patches-4.14/0155-lantiq-VPE-nosmp.patch
parent73ba5e11f7582967f5151f5a3cb27932b47f44fa (diff)
downloadupstream-5eeaba31b8fad26d6ed0f1b52a7f156d838326b8.tar.gz
upstream-5eeaba31b8fad26d6ed0f1b52a7f156d838326b8.tar.bz2
upstream-5eeaba31b8fad26d6ed0f1b52a7f156d838326b8.zip
lantiq: kernel 4.14: copy patches, config and dts files
This just copies the patches, configuration and dts files into the directories hich are used for kernel 4.14. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/lantiq/patches-4.14/0155-lantiq-VPE-nosmp.patch')
-rw-r--r--target/linux/lantiq/patches-4.14/0155-lantiq-VPE-nosmp.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/lantiq/patches-4.14/0155-lantiq-VPE-nosmp.patch b/target/linux/lantiq/patches-4.14/0155-lantiq-VPE-nosmp.patch
new file mode 100644
index 0000000000..898c2d4821
--- /dev/null
+++ b/target/linux/lantiq/patches-4.14/0155-lantiq-VPE-nosmp.patch
@@ -0,0 +1,14 @@
+--- a/arch/mips/kernel/vpe-mt.c
++++ b/arch/mips/kernel/vpe-mt.c
+@@ -132,7 +132,10 @@ int vpe_run(struct vpe *v)
+ * kernels need to turn it on, even if that wasn't the pre-dvpe() state.
+ */
+ #ifdef CONFIG_SMP
+- evpe(vpeflags);
++ if (!setup_max_cpus) /* nosmp is set */
++ evpe(EVPE_ENABLE);
++ else
++ evpe(vpeflags);
+ #else
+ evpe(EVPE_ENABLE);
+ #endif