OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 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