diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-09 16:29:01 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-10-09 16:29:01 +0000 |
commit | 2af90a581d20c983446d354051f0f098a5d4eacb (patch) | |
tree | 04459ecb5b95f7aa40f4bb9c30bb598c1bddbfcd /linux-core/drm_os_linux.h | |
parent | aa1ca406d637a1eabbff272c0508bed5eb1147a1 (diff) |
replaced max() macro with conditional expression
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 cf003137..e9b24356 100644 --- a/linux-core/drm_os_linux.h +++ b/linux-core/drm_os_linux.h @@ -74,7 +74,7 @@ do { \ ret = -EBUSY; \ break; \ } \ - schedule_timeout(max(HZ/100,1)); \ + schedule_timeout((HZ/100 > 1) ? HZ/100 : 1); \ if (signal_pending(current)) { \ ret = -EINTR; \ break; \ |