Re: [PATCH 08/44] kernel: Move pm_power_off to common code

From
Vineet Gupta <hidden>
Date
2014-10-09 10:35:34
Also in
linux-acpi, linux-devicetree, linux-efi, linux-mips, linux-pm, linux-tegra, linux-um, linuxppc-dev
Reply to
Guenter Roeck, 2014-10-07
On Tuesday 07 October 2014 11:01 AM, Guenter Roeck wrote:
diff --git a/arch/arc/kernel/reset.c b/arch/arc/kernel/reset.c
index 2768fa1..8a4fc47 100644
--- a/arch/arc/kernel/reset.c
+++ b/arch/arc/kernel/reset.c
@@ -26,9 +26,6 @@ void machine_restart(char *__unused)

 void machine_power_off(void)
 {
-       /* FIXME ::  power off ??? */
+       do_kernel_poweroff();
        machine_halt();
 }
-
-void (*pm_power_off) (void) = NULL;
-EXPORT_SYMBOL(pm_power_off);
Acked-by: Vineet Gupta <redacted><mailto:<redacted>>

Thx,
-Vineet
Thread (101 messages) 101 messages, 22 authors, last reply 2015-06-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help