Skip to contentSkip to conversation

IRQ was moved to its own lock.

PATCH Applied Gleb Natapov 2 participants 2 messages Jul 9, 2009 – Jul 12, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IRQ was moved to its own lock.

---
 arch/ia64/kvm/kvm-ia64.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/ia64/kvm/kvm-ia64.c +2 -2
index 421c3a4..0ad09f0 100644
@@ -985,10 +985,10 @@ long kvm_arch_vm_ioctl(struct file *filp,
 			goto out;
 		if (irqchip_in_kernel(kvm)) {
 			__s32 status;
-			mutex_lock(&kvm->lock);
+			mutex_lock(&kvm->irq_lock);
 			status = kvm_set_irq(kvm, KVM_USERSPACE_IRQ_SOURCE_ID,
 				    irq_event.irq, irq_event.level);
-			mutex_unlock(&kvm->lock);
+			mutex_unlock(&kvm->irq_lock);
 			if (ioctl == KVM_IRQ_LINE_STATUS) {
 				irq_event.status = status;
 				if (copy_to_user(argp, &irq_event,
Signature · 1 line
1.6.2.1
Applied
#1 lore raw
Quoted 2 lines · Gleb Natapov

Applied, thanks. Please copy kvm-ia64 on ia64 patches.

Signature · 1 line
error compiling committee.c: too many arguments to function