[PATCH 1/3] powerpc return correct rtas status from ibm,suspend-me
Dave C Boutcher
boutcher at cs.umn.edu
Fri Feb 3 18:18:46 EST 2006
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 at us.ibm.com>
---
arch/powerpc/kernel/rtas.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
a0f3095607ff19d730f2ed5181bd37df231d4015
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c
index 7fe4a5c..107bd86 100644
--- a/arch/powerpc/kernel/rtas.c
+++ b/arch/powerpc/kernel/rtas.c
@@ -587,8 +587,8 @@ static void rtas_percpu_suspend_me(void
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");
--
1.1.4.g7310
More information about the Linuxppc64-dev
mailing list