- while (1) {
- cfs_set_current_state(CFS_TASK_UNINT);
- if (cfs_atomic_read(&header->loh_ref) == 1)
- break;
- cfs_waitq_wait(&waiter, CFS_TASK_UNINT);
- }
+ while (1) {
+ set_current_state(TASK_UNINTERRUPTIBLE);
+ if (cfs_atomic_read(&header->loh_ref) == 1)
+ break;
+ waitq_wait(&waiter, TASK_UNINTERRUPTIBLE);
+ }