]> Pileus Git - ~andy/linux/commitdiff
vme_user: Enable compat_ioctl for mixed environment
authorAaron Sierra <asierra@xes-inc.com>
Wed, 18 Dec 2013 16:11:09 +0000 (10:11 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 00:20:12 +0000 (16:20 -0800)
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>
drivers/staging/vme/devices/vme_user.c

index bc4f8623c8ccf26b92169e8ef3a96972fe983a8f..792792715673fe3e987c623f082c4c17c5ade5e5 100644 (file)
@@ -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,
 };