mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-06 22:55:11 +00:00
[PATCH] powerpc: prod all processors after ibm,suspend-me
We need to prod everyone here since this is the only CPU that is guaranteed to be running after the ibm,suspend-me RTAS call returns. Signed-off-by: Dave Boutcher <sleddog@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
c4cb8ecca6
commit
82a4df7462
1 changed files with 3 additions and 0 deletions
|
@ -566,6 +566,7 @@ static int ibm_suspend_me_token = RTAS_UNKNOWN_SERVICE;
|
||||||
#ifdef CONFIG_PPC_PSERIES
|
#ifdef CONFIG_PPC_PSERIES
|
||||||
static void rtas_percpu_suspend_me(void *info)
|
static void rtas_percpu_suspend_me(void *info)
|
||||||
{
|
{
|
||||||
|
int i;
|
||||||
long rc;
|
long rc;
|
||||||
long flags;
|
long flags;
|
||||||
struct rtas_suspend_me_data *data =
|
struct rtas_suspend_me_data *data =
|
||||||
|
@ -590,6 +591,8 @@ static void rtas_percpu_suspend_me(void *info)
|
||||||
data->waiting = 0;
|
data->waiting = 0;
|
||||||
data->args->args[data->args->nargs] =
|
data->args->args[data->args->nargs] =
|
||||||
rtas_call(ibm_suspend_me_token, 0, 1, NULL);
|
rtas_call(ibm_suspend_me_token, 0, 1, NULL);
|
||||||
|
for_each_cpu(i)
|
||||||
|
plpar_hcall_norets(H_PROD,i);
|
||||||
} else {
|
} else {
|
||||||
data->waiting = -EBUSY;
|
data->waiting = -EBUSY;
|
||||||
printk(KERN_ERR "Error on H_Join hypervisor call\n");
|
printk(KERN_ERR "Error on H_Join hypervisor call\n");
|
||||||
|
|
Loading…
Add table
Reference in a new issue