summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Sierra <asierra@xes-inc.com>2013-12-18 10:11:09 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-18 16:20:12 -0800
commit89b1cc2dcb08cdfd7cf04593c135a399c1492c42 (patch)
tree57a753e60da5b9bfca3541cc342cbfce79ff36ea
parentc891d80318c401b11d589f05ca0c5be540ea6149 (diff)
downloadop-kernel-dev-89b1cc2dcb08cdfd7cf04593c135a399c1492c42.zip
op-kernel-dev-89b1cc2dcb08cdfd7cf04593c135a399c1492c42.tar.gz
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 <asierra@xes-inc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/vme/devices/vme_user.c1
1 files changed, 1 insertions, 0 deletions
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,
};
OpenPOWER on IntegriCloud