Skip to content
Commit c972d750 authored by Richard Kennedy's avatar Richard Kennedy Committed by Dave Airlie
Browse files

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: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 40fc6eab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment