diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-26 21:33:44 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-26 21:33:44 +0000 |
commit | f5844cea13ba330beaeebb171eca1580efba62c6 (patch) | |
tree | a6f82faac5c75bee44e39e7bb4eda0048849b59a /linux/drm_os_linux.h | |
parent | 2c40a56393102bb0fb21e183bf5a08b0eea35c57 (diff) |
2.5.x sync patch from Linus Torvalds
Diffstat (limited to 'linux/drm_os_linux.h')
-rw-r--r-- | linux/drm_os_linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_os_linux.h b/linux/drm_os_linux.h index b760c169..eed91766 100644 --- a/linux/drm_os_linux.h +++ b/linux/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; \ } \ |