]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
reboot: Use power off rather than busy spinning when halt is requested
authorpopcornmix <popcornmix@gmail.com>
Tue, 5 Apr 2016 18:40:12 +0000 (19:40 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:40 +0000 (12:07 +0200)
arch/arm/kernel/reboot.c

index 3fa867a2aae672755c6ce6448f4148c989dbf964..80dca8dcd6709034b643c6a3f35729e00fb59a19 100644 (file)
@@ -102,9 +102,7 @@ void machine_shutdown(void)
  */
 void machine_halt(void)
 {
-       local_irq_disable();
-       smp_send_stop();
-       while (1);
+       machine_power_off();
 }
 
 /*