]> err.no Git - linux-2.6/commit
drm: Fix ioc32 compat layer
authorIan Romanick <idr@us.ibm.com>
Thu, 22 Nov 2007 07:02:08 +0000 (17:02 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Feb 2008 05:09:39 +0000 (15:09 +1000)
commit7ffa05e0518ebc055ef8f68d7d53e5f7d2ba3428
tree3c6f6fea3a0d585d4de5592f000e299596651427
parent47a184a80800dd69abd1206eea1b961070ce2ca3
drm: Fix ioc32 compat layer

Previously any ioctls that weren't explicitly listed in the compat ioctl
table would fail with ENOTTY.  If the incoming ioctl number is outside the
range of the table, assume that it Just Works, and pass it off to drm_ioctl.
This make the fence related ioctls work on 64-bit PowerPC.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_ioc32.c