diff options
Diffstat (limited to 'arch/ia64/kvm')
-rw-r--r-- | arch/ia64/kvm/kvm-ia64.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c index 4a983147f6eb..f534e0f6bb0d 100644 --- a/arch/ia64/kvm/kvm-ia64.c +++ b/arch/ia64/kvm/kvm-ia64.c | |||
@@ -982,10 +982,8 @@ long kvm_arch_vm_ioctl(struct file *filp, | |||
982 | goto out; | 982 | goto out; |
983 | if (irqchip_in_kernel(kvm)) { | 983 | if (irqchip_in_kernel(kvm)) { |
984 | __s32 status; | 984 | __s32 status; |
985 | mutex_lock(&kvm->irq_lock); | ||
986 | status = kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, | 985 | status = kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID, |
987 | irq_event.irq, irq_event.level); | 986 | irq_event.irq, irq_event.level); |
988 | mutex_unlock(&kvm->irq_lock); | ||
989 | if (ioctl == KVM_IRQ_LINE_STATUS) { | 987 | if (ioctl == KVM_IRQ_LINE_STATUS) { |
990 | irq_event.status = status; | 988 | irq_event.status = status; |
991 | if (copy_to_user(argp, &irq_event, | 989 | if (copy_to_user(argp, &irq_event, |