You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
356 B
15 lines
356 B
8 years ago
|
--- 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
|