This API shouldn't have 32/64-bit issues, but VFS assumes it does
unless told otherwise.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
static const struct file_operations kvm_device_fops = {
.unlocked_ioctl = kvm_device_ioctl,
static const struct file_operations kvm_device_fops = {
.unlocked_ioctl = kvm_device_ioctl,
+#ifdef CONFIG_COMPAT
+ .compat_ioctl = kvm_device_ioctl,
+#endif
.release = kvm_device_release,
};
.release = kvm_device_release,
};