Merge tag 'for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power...
[linux-block.git] / drivers / power / reset / sc27xx-poweroff.c
index 69863074daf6869c331ff32037838c241d2e3a54..90287c31992c4889f9241e82a21a1949ecca7702 100644 (file)
@@ -35,7 +35,7 @@ static void sc27xx_poweroff_shutdown(void)
 
        for_each_online_cpu(cpu) {
                if (cpu != smp_processor_id())
-                       cpu_down(cpu);
+                       remove_cpu(cpu);
        }
 #endif
 }