Commit 89b1cc2d authored by Aaron Sierra's avatar Aaron Sierra Committed by Greg Kroah-Hartman

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: default avatarAaron Sierra <asierra@xes-inc.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c891d803
...@@ -147,6 +147,7 @@ static const struct file_operations vme_user_fops = { ...@@ -147,6 +147,7 @@ static const struct file_operations vme_user_fops = {
.write = vme_user_write, .write = vme_user_write,
.llseek = vme_user_llseek, .llseek = vme_user_llseek,
.unlocked_ioctl = vme_user_unlocked_ioctl, .unlocked_ioctl = vme_user_unlocked_ioctl,
.compat_ioctl = vme_user_unlocked_ioctl,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment