acrn-kernel/arch/ia64/kvm
Julia Lawall 3499f4d0d1 KVM: ia64: Add missing spin_unlock in kvm_arch_hardware_enable()
Add a spin_unlock missing on the error path.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression E1;
@@

* spin_lock(E1,...);
  <+... when != E1
  if (...) {
    ... when != E1
*   return ...;
  }
  ...+>
* spin_unlock(E1,...);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Avi Kivity <avi@redhat.com>
2010-06-09 18:48:40 +03:00
..
Kconfig Merge branch 'kvm-updates/2.6.34' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2010-03-05 13:12:34 -08:00
Makefile KVM: Move assigned device code to own file 2009-12-03 09:32:09 +02:00
asm-offsets.c drop explicit include of autoconf.h 2009-12-12 13:08:15 +01:00
irq.h
kvm-ia64.c KVM: ia64: Add missing spin_unlock in kvm_arch_hardware_enable() 2010-06-09 18:48:40 +03:00
kvm_fw.c KVM: ia64: remove redundant kvm_get_exit_data() NULL tests 2010-03-01 12:35:52 -03:00
kvm_lib.c KVM: ia64: fix ia64 build due to missing kallsyms_lookup() and double export 2009-06-28 14:10:30 +03:00
kvm_minstate.h
lapic.h
memcpy.S
memset.S
misc.h
mmio.c KVM: ia64: Fix string literal continuation lines 2010-03-01 12:36:07 -03:00
optvfault.S
process.c [IA64] Remove unnecessary semicolons 2009-06-30 14:18:32 -07:00
trampoline.S
vcpu.c KVM: ia64: Fix string literal continuation lines 2010-03-01 12:36:07 -03:00
vcpu.h KVM: ia64: fix build breakage due to host spinlock change 2009-12-27 13:36:33 -02:00
vmm.c KVM: Let vcpu structure alignment be determined at runtime 2010-05-19 11:36:29 +03:00
vmm_ivt.S Rename .text.ivt to .text..ivt. 2010-03-03 11:26:00 +01:00
vti.h
vtlb.c KVM: ia64: fix build breakage due to host spinlock change 2009-12-27 13:36:33 -02:00