Print this page
XXXX pass in cpu_pause_func via pause_cpus

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/serengeti/io/sbdp_quiesce.c
          +++ new/usr/src/uts/sun4u/serengeti/io/sbdp_quiesce.c
↓ open down ↓ 836 lines elided ↑ open up ↑
 837  837          if (watchdog_activated) {
 838  838                  mutex_enter(&tod_lock);
 839  839                  saved_watchdog_seconds = tod_ops.tod_clear_watchdog_timer();
 840  840                  mutex_exit(&tod_lock);
 841  841                  SR_SET_FLAG(srh, SR_FLAG_WATCHDOG);
 842  842          } else {
 843  843                  SR_CLEAR_FLAG(srh, SR_FLAG_WATCHDOG);
 844  844          }
 845  845  
 846  846          mutex_enter(&cpu_lock);
 847      -        pause_cpus(NULL);
      847 +        pause_cpus(NULL, NULL);
 848  848          sbdp_stop_intr();
 849  849  
 850  850          /*
 851  851           * update the signature block
 852  852           */
 853  853          CPU_SIGNATURE(OS_SIG, SIGST_QUIESCED, SIGSUBST_NULL, CPU->cpu_id);
 854  854  
 855  855          return (rc);
 856  856  }
 857  857  
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX