aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index fdf989f17a61..5beb4c16caab 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -2286,10 +2286,8 @@ long kvm_arch_vm_ioctl(struct file *filp,
2286 goto out; 2286 goto out;
2287 if (irqchip_in_kernel(kvm)) { 2287 if (irqchip_in_kernel(kvm)) {
2288 __s32 status; 2288 __s32 status;
2289 mutex_lock(&kvm->irq_lock);
2290 status = kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, 2289 status = kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID,
2291 irq_event.irq, irq_event.level); 2290 irq_event.irq, irq_event.level);
2292 mutex_unlock(&kvm->irq_lock);
2293 if (ioctl == KVM_IRQ_LINE_STATUS) { 2291 if (ioctl == KVM_IRQ_LINE_STATUS) {
2294 irq_event.status = status; 2292 irq_event.status = status;
2295 if (copy_to_user(argp, &irq_event, 2293 if (copy_to_user(argp, &irq_event,