Print this page
5285 pass in cpu_pause_func via pause_cpus

@@ -394,11 +394,11 @@
          * Pause all other CPUs (and let them run pause thread).
          * It's guaranteed that no other threads will access cpu_idle_cb_array
          * after pause_cpus().
          */
         if (!cpus_paused()) {
-                pause_cpus(NULL);
+                pause_cpus(NULL, NULL);
                 unpause = 1;
         }
 
         /* Copy content to new buffer if needed. */
         if (buf_new != NULL) {

@@ -460,11 +460,11 @@
          * Pause all other CPUs.
          * It's guaranteed that no other threads will access cpu_idle_cb_array
          * after pause_cpus().
          */
         if (!cpus_paused()) {
-                pause_cpus(NULL);
+                pause_cpus(NULL, NULL);
                 unpause = 1;
         }
 
         /* Remove cip from array. */
         for (i = 0; i < cpu_idle_cb_curr; i++) {