Print this page
XXXX pass in cpu_pause_func via pause_cpus

@@ -1295,11 +1295,11 @@
                 my_lgrp->lgrp_latency = lgrp_plat_latency(hand, hand);
                 klgrpset_add(my_lgrp->lgrp_leaves, lgrpid);
                 klgrpset_add(my_lgrp->lgrp_set[LGRP_RSRC_MEM], lgrpid);
 
                 if (need_synch)
-                        pause_cpus(NULL);
+                        pause_cpus(NULL, NULL);
                 count = lgrp_leaf_add(my_lgrp, lgrp_table, lgrp_alloc_max + 1,
                     &changed);
                 if (need_synch)
                         start_cpus();
         } else if (my_lgrp->lgrp_latency == 0 && lgrp_plat_latency(hand, hand)

@@ -1314,11 +1314,11 @@
                 lgrpid = my_lgrp->lgrp_id;
                 if (!klgrpset_ismember(my_lgrp->lgrp_set[LGRP_RSRC_MEM],
                     lgrpid))
                         klgrpset_add(my_lgrp->lgrp_set[LGRP_RSRC_MEM], lgrpid);
                 if (need_synch)
-                        pause_cpus(NULL);
+                        pause_cpus(NULL, NULL);
                 count = lgrp_leaf_add(my_lgrp, lgrp_table, lgrp_alloc_max + 1,
                     &changed);
                 if (need_synch)
                         start_cpus();
         } else if (!klgrpset_ismember(my_lgrp->lgrp_set[LGRP_RSRC_MEM],

@@ -1475,11 +1475,11 @@
         if (lgrp_rsets_empty(my_lgrp->lgrp_set)) {
                 /*
                  * Delete lgroup when no more resources
                  */
                 if (need_synch)
-                        pause_cpus(NULL);
+                        pause_cpus(NULL, NULL);
                 count = lgrp_leaf_delete(my_lgrp, lgrp_table,
                     lgrp_alloc_max + 1, &changed);
                 ASSERT(count > 0);
                 if (need_synch)
                         start_cpus();