aboutsummaryrefslogtreecommitdiff
path: root/arch/ia64/kvm/vmm.c
diff options
context:
space:
mode:
authorGravatar Luck, Tony <tony.luck@intel.com> 2009-12-17 17:05:03 -0800
committerGravatar Marcelo Tosatti <mtosatti@redhat.com> 2009-12-27 13:36:33 -0200
commita662b8135a1f9fee7d3f9129498cb03f3d6ce772 (patch)
tree3766ea07d781115847692632f34ff86371b1bc1b /arch/ia64/kvm/vmm.c
parentKVM: x86: Extend KVM_SET_VCPU_EVENTS with selective updates (diff)
downloadlinux-a662b8135a1f9fee7d3f9129498cb03f3d6ce772.tar.gz
linux-a662b8135a1f9fee7d3f9129498cb03f3d6ce772.tar.bz2
linux-a662b8135a1f9fee7d3f9129498cb03f3d6ce772.zip
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>
Diffstat (limited to 'arch/ia64/kvm/vmm.c')
-rw-r--r--arch/ia64/kvm/vmm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kvm/vmm.c b/arch/ia64/kvm/vmm.c
index f4b4c899bb6c..7a62f75778c5 100644
--- a/arch/ia64/kvm/vmm.c
+++ b/arch/ia64/kvm/vmm.c
@@ -60,12 +60,12 @@ static void __exit kvm_vmm_exit(void)
return ;
}
-void vmm_spin_lock(spinlock_t *lock)
+void vmm_spin_lock(vmm_spinlock_t *lock)
{
_vmm_raw_spin_lock(lock);
}
-void vmm_spin_unlock(spinlock_t *lock)
+void vmm_spin_unlock(vmm_spinlock_t *lock)
{
_vmm_raw_spin_unlock(lock);
}