drm: replace DRM_COPY macro w/ a function
authorAndres Salomon <dilinger@collabora.co.uk>
Tue, 17 Nov 2009 22:41:24 +0000 (14:41 -0800)
committerDave Airlie <airlied@redhat.com>
Wed, 18 Nov 2009 00:02:50 +0000 (10:02 +1000)
commit140a45fc3253746e1e42feafc63509df5d90889e
treeb125bf5e9f686399920b4e394e65a88568823d5e
parent156822f7175d9ceb9d7e808502d3c5de8841e047
drm: replace DRM_COPY macro w/ a function

Don't inline it; the compiler can figure it out.  Comments added that are
based upon my interpretation of the code.  Hopefully they're correct. :)

Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_drv.c