i / 20, sched->ws_nthreads, sched->ws_name);
spin_unlock(&cfs_wi_data.wi_glock);
- set_current_state(TASK_UNINTERRUPTIBLE);
- schedule_timeout(cfs_time_seconds(1) / 20);
+ schedule_timeout_uninterruptible(cfs_time_seconds(1)
+ / 20);
spin_lock(&cfs_wi_data.wi_glock);
}
}
while (sched->ws_nthreads != 0) {
spin_unlock(&cfs_wi_data.wi_glock);
- set_current_state(TASK_UNINTERRUPTIBLE);
- schedule_timeout(cfs_time_seconds(1) / 20);
+ schedule_timeout_uninterruptible(cfs_time_seconds(1)
+ / 20);
spin_lock(&cfs_wi_data.wi_glock);
}
spin_unlock(&cfs_wi_data.wi_glock);