drm: reorder struct drm_ioctl_desc to save space on 64 bit builds
authorRichard Kennedy <richard@rsk.demon.co.uk>
Wed, 18 Mar 2009 17:26:44 +0000 (17:26 +0000)
committerDave Airlie <airlied@redhat.com>
Sun, 29 Mar 2009 08:31:45 +0000 (18:31 +1000)
shrinks drm_ioctl_desc from 24 bytes to 16 bytes by reordering members
to remove padding.

updates DRM_IOCTL_DEF macro to initialise structure members by name to
handle the structure reorder.

The applied patch reduces data used in drm.ko from 10440 to 9032

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found