projects
/
openwrt
/
staging
/
wigyori.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lantiq: kernel 4.14: copy patches, config and dts files
[openwrt/staging/wigyori.git]
/
target
/
linux
/
lantiq
/
patches-4.14
/
0155-lantiq-VPE-nosmp.patch
1
--- a/arch/mips/kernel/vpe-mt.c
2
+++ b/arch/mips/kernel/vpe-mt.c
3
@@ -132,7 +132,10 @@ int vpe_run(struct vpe *v)
4
* kernels need to turn it on, even if that wasn't the pre-dvpe() state.
5
*/
6
#ifdef CONFIG_SMP
7
- evpe(vpeflags);
8
+ if (!setup_max_cpus) /* nosmp is set */
9
+ evpe(EVPE_ENABLE);
10
+ else
11
+ evpe(vpeflags);
12
#else
13
evpe(EVPE_ENABLE);
14
#endif