mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[PATCH] KVM: Remove extranous put_cpu() from vcpu_put()
The arch splitting patchset left an extra put_cpu() in core code, where it can cause trouble for CONFIG_PREEMPT kernels. Reported-by: Huihong Luo <huisinro@yahoo.com> Signed-off-by: Avi Kivity <avi@qumranet.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
7725f0badd
commit
0770b19b94
1 changed files with 0 additions and 1 deletions
|
@ -205,7 +205,6 @@ static struct kvm_vcpu *vcpu_load(struct kvm *kvm, int vcpu_slot)
|
|||
static void vcpu_put(struct kvm_vcpu *vcpu)
|
||||
{
|
||||
kvm_arch_ops->vcpu_put(vcpu);
|
||||
put_cpu();
|
||||
mutex_unlock(&vcpu->mutex);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue