]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f7bf2135e4cbb3717b951a71dce087c5e92ea64
treef594cc6ee6cc42a4b2a13521883c44962d1b0695
parent3b25044aa71a3d19243a30b276cbcc591d3b1f09
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