MIPS: only register MT SMP ops if MT is supported
Verify that the current CPU actually supports multi-threading before registering MT SMP ops, instead of unconditionally registering them if the kernel is compiled with CONFIG_MIPS_MT_SMP. Suggested-by: NJiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: NSander Vanheule <sander@svanheule.net> Signed-off-by: NThomas Bogendoerfer <tsbogend@alpha.franken.de>
Showing
想要评论请 注册 或 登录