Print this page
XXXX pass in cpu_pause_func via pause_cpus

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/io/dr/dr_quiesce.c
          +++ new/usr/src/uts/i86pc/io/dr/dr_quiesce.c
↓ open down ↓ 864 lines elided ↑ open up ↑
 865  865          }
 866  866  
 867  867          drmach_suspend_last();
 868  868  
 869  869          /*
 870  870           * finally, grab all cpus
 871  871           */
 872  872          srh->sr_suspend_state = DR_SRSTATE_FULL;
 873  873  
 874  874          mutex_enter(&cpu_lock);
 875      -        pause_cpus(NULL);
      875 +        pause_cpus(NULL, NULL);
 876  876          dr_stop_intr();
 877  877  
 878  878          return (rc);
 879  879  }
 880  880  
 881  881  int
 882  882  dr_pt_test_suspend(dr_handle_t *hp)
 883  883  {
 884  884          dr_sr_handle_t *srh;
 885  885          int             err;
↓ open down ↓ 160 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX