Print this page
XXXX pass in cpu_pause_func via pause_cpus

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/ngdr/io/dr_quiesce.c
          +++ new/usr/src/uts/sun4u/ngdr/io/dr_quiesce.c
↓ open down ↓ 927 lines elided ↑ open up ↑
 928  928  
 929  929          /*
 930  930           * Update the signature block.
 931  931           * This must be done before cpus are paused, since on Starcat the
 932  932           * cpu signature update aquires an adaptive mutex in the iosram driver.
 933  933           * Blocking with cpus paused can lead to deadlock.
 934  934           */
 935  935          CPU_SIGNATURE(OS_SIG, SIGST_QUIESCED, SIGSUBST_NULL, CPU->cpu_id);
 936  936  
 937  937          mutex_enter(&cpu_lock);
 938      -        pause_cpus(NULL);
      938 +        pause_cpus(NULL, NULL);
 939  939          dr_stop_intr();
 940  940  
 941  941          return (rc);
 942  942  }
 943  943  
 944  944  int
 945  945  dr_pt_test_suspend(dr_handle_t *hp)
 946  946  {
 947  947          dr_sr_handle_t *srh;
 948  948          int             err;
↓ open down ↓ 159 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX