Skip to content

Commit

Permalink
[PATCH] powerpc: return correct rtas status from ibm,suspend-me
Browse files Browse the repository at this point in the history
Correctly return the status from the RTAS call.  rtas_call expects
to return the status as a return value.

Signed-off-by: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Dave C Boutcher authored and Paul Mackerras committed Feb 7, 2006
1 parent 31a7f67 commit c4cb8ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/kernel/rtas.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit c4cb8ec

Please sign in to comment.