提交 c4cb8ecc 编写于 作者: D Dave C Boutcher 提交者: Paul Mackerras

[PATCH] powerpc: return correct rtas status from ibm,suspend-me

Correctly return the status from the RTAS call.  rtas_call expects
to return the status as a return value.
Signed-off-by: NDave Boutcher <sleddog@us.ibm.com>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 31a7f67e
......@@ -588,8 +588,8 @@ static void rtas_percpu_suspend_me(void *info)
if (rc == H_Continue) {
data->waiting = 0;
rtas_call(ibm_suspend_me_token, 0, 1,
data->args->args);
data->args->args[data->args->nargs] =
rtas_call(ibm_suspend_me_token, 0, 1, NULL);
} else {
data->waiting = -EBUSY;
printk(KERN_ERR "Error on H_Join hypervisor call\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册