- XBT_IN1("(%p)",action);
- lmm_update_variable_weight(maxmin_system,
- ((surf_action_cpu_Cas01_t) action)->variable,
- action->priority);
+ XBT_IN1("(%p)", action);
+ if (((surf_action_cpu_Cas01_t) action)->suspended != 2) {
+ lmm_update_variable_weight(cpu_maxmin_system,
+ ((surf_action_cpu_Cas01_t) action)->
+ variable, action->priority);
+ ((surf_action_cpu_Cas01_t) action)->suspended = 0;
+ }