diff options
author | Dave C Boutcher <boutcher@cs.umn.edu> | 2006-02-03 02:18:46 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-02-07 05:32:43 -0500 |
commit | c4cb8ecca66e3f136f66b5b30ec189530290a9b9 (patch) | |
tree | a52794685fafc99bfa749b5499603fc40d11be29 /arch/powerpc/kernel/rtas.c | |
parent | 31a7f67e587aa0745a132ae68efa7f15dac677f9 (diff) |
[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: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/rtas.c')
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index b7092a47064b..f9b34e3ccf5a 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -588,8 +588,8 @@ static void rtas_percpu_suspend_me(void *info) | |||
588 | 588 | ||
589 | if (rc == H_Continue) { | 589 | if (rc == H_Continue) { |
590 | data->waiting = 0; | 590 | data->waiting = 0; |
591 | rtas_call(ibm_suspend_me_token, 0, 1, | 591 | data->args->args[data->args->nargs] = |
592 | data->args->args); | 592 | rtas_call(ibm_suspend_me_token, 0, 1, NULL); |
593 | } else { | 593 | } else { |
594 | data->waiting = -EBUSY; | 594 | data->waiting = -EBUSY; |
595 | printk(KERN_ERR "Error on H_Join hypervisor call\n"); | 595 | printk(KERN_ERR "Error on H_Join hypervisor call\n"); |