|
@@ -716,7 +716,6 @@ static int __rtas_suspend_last_cpu(struct rtas_suspend_me_data *data, int wake_w
|
|
int cpu;
|
|
int cpu;
|
|
|
|
|
|
slb_set_size(SLB_MIN_SIZE);
|
|
slb_set_size(SLB_MIN_SIZE);
|
|
- stop_topology_update();
|
|
|
|
printk(KERN_DEBUG "calling ibm,suspend-me on cpu %i\n", smp_processor_id());
|
|
printk(KERN_DEBUG "calling ibm,suspend-me on cpu %i\n", smp_processor_id());
|
|
|
|
|
|
while (rc == H_MULTI_THREADS_ACTIVE && !atomic_read(&data->done) &&
|
|
while (rc == H_MULTI_THREADS_ACTIVE && !atomic_read(&data->done) &&
|
|
@@ -732,7 +731,6 @@ static int __rtas_suspend_last_cpu(struct rtas_suspend_me_data *data, int wake_w
|
|
rc = atomic_read(&data->error);
|
|
rc = atomic_read(&data->error);
|
|
|
|
|
|
atomic_set(&data->error, rc);
|
|
atomic_set(&data->error, rc);
|
|
- start_topology_update();
|
|
|
|
pSeries_coalesce_init();
|
|
pSeries_coalesce_init();
|
|
|
|
|
|
if (wake_when_done) {
|
|
if (wake_when_done) {
|
|
@@ -846,6 +844,7 @@ int rtas_ibm_suspend_me(struct rtas_args *args)
|
|
atomic_set(&data.error, 0);
|
|
atomic_set(&data.error, 0);
|
|
data.token = rtas_token("ibm,suspend-me");
|
|
data.token = rtas_token("ibm,suspend-me");
|
|
data.complete = &done;
|
|
data.complete = &done;
|
|
|
|
+ stop_topology_update();
|
|
|
|
|
|
/* Call function on all CPUs. One of us will make the
|
|
/* Call function on all CPUs. One of us will make the
|
|
* rtas call
|
|
* rtas call
|
|
@@ -858,6 +857,8 @@ int rtas_ibm_suspend_me(struct rtas_args *args)
|
|
if (atomic_read(&data.error) != 0)
|
|
if (atomic_read(&data.error) != 0)
|
|
printk(KERN_ERR "Error doing global join\n");
|
|
printk(KERN_ERR "Error doing global join\n");
|
|
|
|
|
|
|
|
+ start_topology_update();
|
|
|
|
+
|
|
return atomic_read(&data.error);
|
|
return atomic_read(&data.error);
|
|
}
|
|
}
|
|
#else /* CONFIG_PPC_PSERIES */
|
|
#else /* CONFIG_PPC_PSERIES */
|