aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_os_linux.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-04-26 21:33:44 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-04-26 21:33:44 +0000
commitf5844cea13ba330beaeebb171eca1580efba62c6 (patch)
treea6f82faac5c75bee44e39e7bb4eda0048849b59a /linux-core/drm_os_linux.h
parent2c40a56393102bb0fb21e183bf5a08b0eea35c57 (diff)
2.5.x sync patch from Linus Torvalds
Diffstat (limited to 'linux-core/drm_os_linux.h')
-rw-r--r--linux-core/drm_os_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_os_linux.h b/linux-core/drm_os_linux.h
index b760c169..eed91766 100644
--- a/linux-core/drm_os_linux.h
+++ b/linux-core/drm_os_linux.h
@@ -70,7 +70,7 @@ do { \
current->state = TASK_INTERRUPTIBLE; \
if (condition) \
break; \
- if((signed)(end - jiffies) <= 0) { \
+ if (time_after_eq(jiffies, end)) { \
ret = -EBUSY; \
break; \
} \