Print this page
5285 pass in cpu_pause_func via pause_cpus
@@ -406,11 +406,11 @@
* prom functions are callable while the cpus are paused.
*/
void
promsafe_pause_cpus(void)
{
- pause_cpus(NULL);
+ pause_cpus(NULL, NULL);
/* If some other cpu is entering or is in the prom, spin */
while (prom_cpu || mutex_owner(&prom_mutex)) {
start_cpus();
@@ -419,11 +419,11 @@
/* Wait for other cpu to exit prom */
while (prom_cpu)
cv_wait(&prom_cv, &prom_mutex);
mutex_exit(&prom_mutex);
- pause_cpus(NULL);
+ pause_cpus(NULL, NULL);
}
/* At this point all cpus are paused and none are in the prom */
}