Print this page
XXXX pass in cpu_pause_func via pause_cpus

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/os/cpr_impl.c
          +++ new/usr/src/uts/sun4u/os/cpr_impl.c
↓ open down ↓ 261 lines elided ↑ open up ↑
 262  262                   * are frozen.
 263  263                   */
 264  264                  for (cp = CPU->cpu_next; cp != CPU; cp = cp->cpu_next) {
 265  265                          cp->cpu_flags = CPU_FROZEN;
 266  266                          cp->cpu_m.mutex_ready = 0;
 267  267                  }
 268  268  
 269  269                  for (cp = CPU->cpu_next; cp != CPU; cp = cp->cpu_next)
 270  270                          restart_other_cpu(cp->cpu_id);
 271  271  
 272      -                pause_cpus(NULL);
      272 +                pause_cpus(NULL, NULL);
 273  273                  mutex_exit(&cpu_lock);
 274  274  
 275  275                  i_cpr_xcall(i_cpr_clear_entries);
 276  276          } else
 277  277                  i_cpr_clear_entries(0, 0);
 278  278  
 279  279          /*
 280  280           * now unlink the cif wrapper;  WARNING: do not call any
 281  281           * prom_xxx() routines until after prom pages are restored.
 282  282           */
↓ open down ↓ 1747 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX