[PATCH openEuler-1.0-LTS 09/30] governors: unify last_state_idx