From f5844cea13ba330beaeebb171eca1580efba62c6 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sat, 26 Apr 2003 21:33:44 +0000 Subject: 2.5.x sync patch from Linus Torvalds --- linux-core/drm_os_linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core/drm_os_linux.h') 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; \ } \ -- cgit v1.2.3