Thread (101 messages) 101 messages, 22 authors, 2015-06-18

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
Subsystem: synopsys arc architecture, the rest · Maintainers: Vineet Gupta, Linus Torvalds

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:vgupta@synopsys.com>

Thx,
-Vineet
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help