On Wed, Jul 30, 2008 at 8:19 AM, Johannes Engel <[EMAIL PROTECTED]> wrote: > Hi folks, > > this rather trivial patch makes drm compile again on kernel >= 2.6.27. It is > necessary since in kernel 2.6.27 on_each_cpu (defined in > include/linux/smp.h) lost the third argument (retry). > What do you think?
We try to keep #ifdef's out of the code and in drm_compat.h instead. Something like #if linuxversion >= 2.6.27 #define drm_on_each_cpu(handler, data, wait) ... #else ... #endif and then just user drm_on_each_cpu in the code. thanks, Kristian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel