提交 c14b302c 编写于 作者: H Helge Deller

parisc: Directly call machine_power_off() in power button driver

Signed-off-by: NHelge Deller <deller@gmx.de>
Tested-by: NMatt Turner <mattst88@gmail.com>
上级 24002d59
...@@ -95,8 +95,7 @@ static void process_shutdown(void) ...@@ -95,8 +95,7 @@ static void process_shutdown(void)
/* send kill signal */ /* send kill signal */
if (kill_cad_pid(SIGINT, 1)) { if (kill_cad_pid(SIGINT, 1)) {
/* just in case killing init process failed */ /* just in case killing init process failed */
if (pm_power_off) machine_power_off();
pm_power_off();
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册