drm: Only use DRM_IOCTL_UPDATE_DRAW compat wrapper for compat X86.
authorDavid Miller <davem@davemloft.net>
Wed, 18 Feb 2009 09:35:21 +0000 (01:35 -0800)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Mar 2009 04:24:04 +0000 (14:24 +1000)
commit09e40d65d0aa6680428143cda1a7bdc8846ee991
tree76c6d457d9cb63873f43ec33abf1d1ec500c0260
parent958a6f8ccb1964adc3eec84cf401c5baeb4fbca0
drm: Only use DRM_IOCTL_UPDATE_DRAW compat wrapper for compat X86.

Only X86 32-bit uses a different alignment for "unsigned long long"
than it's 64-bit counterpart.

Therefore this compat translation is only correct, and only needed,
when either CONFIG_X86 or CONFIG_IA64.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_ioc32.c