|
@@ -97,7 +97,7 @@ int smp_generic_cpu_bootable(unsigned int nr)
|
|
/* Special case - we inhibit secondary thread startup
|
|
/* Special case - we inhibit secondary thread startup
|
|
* during boot if the user requests it.
|
|
* during boot if the user requests it.
|
|
*/
|
|
*/
|
|
- if (system_state == SYSTEM_BOOTING && cpu_has_feature(CPU_FTR_SMT)) {
|
|
|
|
|
|
+ if (system_state < SYSTEM_RUNNING && cpu_has_feature(CPU_FTR_SMT)) {
|
|
if (!smt_enabled_at_boot && cpu_thread_in_core(nr) != 0)
|
|
if (!smt_enabled_at_boot && cpu_thread_in_core(nr) != 0)
|
|
return 0;
|
|
return 0;
|
|
if (smt_enabled_at_boot
|
|
if (smt_enabled_at_boot
|