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)
commita662b8135a1f9fee7d3f9129498cb03f3d6ce772
tree3766ea07d781115847692632f34ff86371b1bc1b
parentdab4b911a5327859bb8f969249c6978c26cd4853
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