commit | c972d750e4fa3bfee6e7d3635729bf8c9cbb8f0a | [log] [tgz] |
---|---|---|
author | Richard Kennedy <richard@rsk.demon.co.uk> | Wed Mar 18 17:26:44 2009 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Sun Mar 29 18:31:45 2009 +1000 |
tree | 21636305d6828368d5b4d60a34ab0f1e3dca4a51 | |
parent | 40fc6eab599d0087a75fc77eaaf04d769b667f6d [diff] |
drm: reorder struct drm_ioctl_desc to save space on 64 bit builds 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>