replaced max() macro with conditional expression

main
Brian Paul 2002-10-09 16:29:01 +00:00
parent aa1ca406d6
commit 2af90a581d
2 changed files with 2 additions and 2 deletions

View File

@ -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; \

View File

@ -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; \