KVM: ia64: fix vmm_spin_{un}lock for !CONFIG_SMP
authorXiantao Zhang <xiantao.zhang@intel.com>
Sat, 8 Nov 2008 07:46:59 +0000 (15:46 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 11 Nov 2008 19:01:30 +0000 (21:01 +0200)
commitc60ff51eb26dfcfb0bdc807b09a096aeadd01325
treef594cc6ee6cc42a4b2a13521883c44962d1b0695
parent928d4bf747e9c290b690ff515d8f81e8ee226d97
KVM: ia64: fix vmm_spin_{un}lock for !CONFIG_SMP

In the case of !CONFIG_SMP, raw_spinlock_t is empty and the spinlock functions
don't build.  Fix by defining spinlock functions for the uniprocessor case.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/vcpu.h