]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: ia64: fix build breakage due to host spinlock change
authorLuck, Tony <tony.luck@intel.com>
Fri, 18 Dec 2009 01:05:03 +0000 (17:05 -0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Sun, 27 Dec 2009 15:36:33 +0000 (13:36 -0200)
commit133c045366364c756c8904ec33577070670cd8fc
tree3766ea07d781115847692632f34ff86371b1bc1b
parent6d6b2ca736d0ce3d598ff945666d3cd9f67f49c1
KVM: ia64: fix build breakage due to host spinlock change

Len Brown pointed out that allmodconfig is broken for
ia64 because of:

arch/ia64/kvm/vmm.c: In function 'vmm_spin_unlock':
arch/ia64/kvm/vmm.c:70: error: 'spinlock_t' has no member named 'raw_lock'

KVM has it's own spinlock routines. It should not depend on the base kernel
spinlock_t type (which changed when ia64 switched to ticket locks).  Define
its own vmm_spinlock_t type.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/vcpu.h
arch/ia64/kvm/vmm.c
arch/ia64/kvm/vtlb.c