projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0671974
)
reboot: Use power off rather than busy spinning when halt is requested
author
popcornmix
<popcornmix@gmail.com>
Tue, 5 Apr 2016 18:40:12 +0000
(19:40 +0100)
committer
popcornmix
<popcornmix@gmail.com>
Wed, 1 Jul 2020 15:32:34 +0000
(16:32 +0100)
arch/arm/kernel/reboot.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/reboot.c
b/arch/arm/kernel/reboot.c
index
bb18ed0
..
a8595ab
100644
(file)
--- a/
arch/arm/kernel/reboot.c
+++ b/
arch/arm/kernel/reboot.c
@@
-102,9
+102,7
@@
void machine_shutdown(void)
*/
void machine_halt(void)
{
- local_irq_disable();
- smp_send_stop();
- while (1);
+ machine_power_off();
}
/*