KVM: x86: Convert tsc_write_lock to raw_spinlock
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 4 Feb 2011 09:49:11 +0000 (10:49 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:30 +0000 (13:08 -0300)
commit038f8c110eace38d7598e271835ae96ad04a3a26
tree0b95a2c07fb2331110f4741d9d54ebfcf42283a8
parent7049467b5383432e178cc4124e53aebd83638916
KVM: x86: Convert tsc_write_lock to raw_spinlock

Code under this lock requires non-preemptibility. Ensure this also over
-rt by converting it to raw spinlock.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c