diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index e6e7abe16d05..8fd325a0a1b1 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -2221,6 +2221,9 @@ static int kvm_device_release(struct inode *inode, struct file *filp) | |||
2221 | 2221 | ||
2222 | static const struct file_operations kvm_device_fops = { | 2222 | static const struct file_operations kvm_device_fops = { |
2223 | .unlocked_ioctl = kvm_device_ioctl, | 2223 | .unlocked_ioctl = kvm_device_ioctl, |
2224 | #ifdef CONFIG_COMPAT | ||
2225 | .compat_ioctl = kvm_device_ioctl, | ||
2226 | #endif | ||
2224 | .release = kvm_device_release, | 2227 | .release = kvm_device_release, |
2225 | }; | 2228 | }; |
2226 | 2229 | ||