Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4cb8ecc authored by Dave C Boutcher's avatar Dave C Boutcher Committed by Paul Mackerras
Browse files

[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: default avatarDave Boutcher <sleddog@us.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 31a7f67e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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");