drm: use drm_compat_ioctl for 32-bit apps
authorKeith Packard <keithp@keithp.com>
Mon, 9 Jul 2012 22:40:07 +0000 (15:40 -0700)
committerDave Airlie <airlied@gmail.com>
Wed, 5 Sep 2012 20:55:02 +0000 (06:55 +1000)
Most of the DRM drivers appear to be missing the .compat_ioctl file
operation entry necessary for 32-bit application compatibility.

This patch  uses drm_compat_ioctl for all drivers which don't have
their own, and which are using drm_ioctl for .unlocked_ioctl.

This leaves drivers/gpu/drm/psb/psb_drv.c unchanged; it has a custom
.unlocked_ioctl and will presumably need a custom .compat_ioctl as
well.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>

No differences found