From: Aaron Sierra Date: Wed, 18 Dec 2013 16:11:09 +0000 (-0600) Subject: vme_user: Enable compat_ioctl for mixed environment X-Git-Tag: upstream/snapshot3+hdmi~3491^2~248 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89b1cc2dcb08cdfd7cf04593c135a399c1492c42;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git vme_user: Enable compat_ioctl for mixed environment Now that the VME userspace API structures compile to a consistent size in mixed environments (32-bit userspace and 64-bit kernel), enable the .compat_ioctl to allow ioctls to execute in this environment. Signed-off-by: Aaron Sierra Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vme/devices/vme_user.c b/drivers/staging/vme/devices/vme_user.c index bc4f862..7927927 100644 --- a/drivers/staging/vme/devices/vme_user.c +++ b/drivers/staging/vme/devices/vme_user.c @@ -147,6 +147,7 @@ static const struct file_operations vme_user_fops = { .write = vme_user_write, .llseek = vme_user_llseek, .unlocked_ioctl = vme_user_unlocked_ioctl, + .compat_ioctl = vme_user_unlocked_ioctl, };