On Sun, 2005-09-25 at 00:56 +0100, Dave Airlie wrote: > > > > drivers/char/drm/drmP.h defines a macro DRM_ARRAY_SIZE(x) for > > determining the size of an array. kernel.h already provides one. > > > > Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> > > Nak. > > We have DRM_ for cross platform reasons in DRM, I could in theory get rid > of all of them in the kernel, but it would make the merging of code from > DRM CVS even more of a nightmare,
ok so this brings the question: how does naming it DRM_ARRAY_SIZE make it more portable than naming it ARRAY_SIZE? If *BSD doesn't have ARRAY_SIZE, then surely naming it ARRAY_SIZE is easy for them to provide (after all they need to provide it already just called DRM_ARRAY_SIZE); if they have ARRAY_SIZE... then I assume it has the exact same semantics.... ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel