projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f78fd0
)
KVM: MMU: use wrapper function to flush local tlb
author
Xiao Guangrong
<xiaoguangrong@cn.fujitsu.com>
Tue, 8 Jun 2010 12:05:57 +0000
(20:05 +0800)
committer
Avi Kivity
<avi@redhat.com>
Sun, 1 Aug 2010 07:46:25 +0000
(10:46 +0300)
Use kvm_mmu_flush_tlb() function instead of calling
kvm_x86_ops->tlb_flush(vcpu) directly.
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/mmu.c
b/arch/x86/kvm/mmu.c
index 098a0b8616b01d464b580310d25495dc65fad427..e087f855461d023527ce73c49dad664b2d05f613 100644
(file)
--- a/
arch/x86/kvm/mmu.c
+++ b/
arch/x86/kvm/mmu.c
@@
-1984,7
+1984,7
@@
static void mmu_set_spte(struct kvm_vcpu *vcpu, u64 *sptep,
reset_host_protection)) {
if (write_fault)
*ptwrite = 1;
- kvm_
x86_ops->tlb_flush
(vcpu);
+ kvm_
mmu_flush_tlb
(vcpu);
}
pgprintk("%s: setting spte %llx\n", __func__, *sptep);