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

Vineet Gupta Vineet.Gupta1 at synopsys.com
Thu Oct 9 21:35:34 EST 2014


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

Thx,
-Vineet


More information about the Linuxppc-dev mailing list