diff options
Diffstat (limited to 'linux-core/drm_os_linux.h')
-rw-r--r-- | linux-core/drm_os_linux.h | 2 |
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; \ } \ |