aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/linux-2.6/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/time.h')
-rw-r--r--fs/xfs/linux-2.6/time.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/time.h b/fs/xfs/linux-2.6/time.h
index 6c6fd0faa8e..b0d2873ab27 100644
--- a/fs/xfs/linux-2.6/time.h
+++ b/fs/xfs/linux-2.6/time.h
@@ -39,8 +39,7 @@ typedef struct timespec timespec_t;
static inline void delay(long ticks)
{
- set_current_state(TASK_UNINTERRUPTIBLE);
- schedule_timeout(ticks);
+ schedule_timeout_uninterruptible(ticks);
}
static inline void nanotime(struct timespec *tvp)