]> git.baikalelectronics.ru Git - kernel.git/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)
commitc9c6cdb9814cc072009fa2056b5f98a24bac237d
tree3c6f6fea3a0d585d4de5592f000e299596651427
parent91100ec54c23a428b43dae5befbecf253eb94f1b
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