OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b0cb3c
)
KVM: PPC: BookE: Drop redundant vcpu->mode set
author
Alexander Graf
<agraf@suse.de>
Sun, 12 Aug 2012 09:13:25 +0000
(11:13 +0200)
committer
Alexander Graf
<agraf@suse.de>
Fri, 5 Oct 2012 21:38:43 +0000
(23:38 +0200)
We only need to set vcpu->mode to outside once.
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kvm/booke.c
b/arch/powerpc/kvm/booke.c
index
4652e0b
..
492c343
100644
(file)
--- a/
arch/powerpc/kvm/booke.c
+++ b/
arch/powerpc/kvm/booke.c
@@
-528,8
+528,6
@@
int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
#endif
kvm_guest_exit();
- vcpu->mode = OUTSIDE_GUEST_MODE;
- smp_wmb();
out:
vcpu->mode = OUTSIDE_GUEST_MODE;