|
@@ -555,8 +555,7 @@ static DEFINE_RAW_SPINLOCK(stop_lock);
|
|
*/
|
|
*/
|
|
static void ipi_cpu_stop(unsigned int cpu)
|
|
static void ipi_cpu_stop(unsigned int cpu)
|
|
{
|
|
{
|
|
- if (system_state == SYSTEM_BOOTING ||
|
|
|
|
- system_state == SYSTEM_RUNNING) {
|
|
|
|
|
|
+ if (system_state <= SYSTEM_RUNNING) {
|
|
raw_spin_lock(&stop_lock);
|
|
raw_spin_lock(&stop_lock);
|
|
pr_crit("CPU%u: stopping\n", cpu);
|
|
pr_crit("CPU%u: stopping\n", cpu);
|
|
dump_stack();
|
|
dump_stack();
|