]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72f353354c44a80d402b78fbd20db0d3409455b0
treeb125bf5e9f686399920b4e394e65a88568823d5e
parentc21bee915c8ce8cc4af0cc27bfc6e6e4101a6bbd
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