in drm_os_linux.h in the DRM_WAIT_ON macro there's:

                schedule_timeout(max(HZ/100,1));         \

Where is max() supposed to be defined?  It's undefined when I compile here.
Replacing it with:

                schedule_timeout((HZ/100 > 1) ? HZ/100 : 1);    \

seems to work.

-Brian



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to