projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: MMU: Adjust pte accessors to explicitly indicate guest or shadow pte
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
kvm
/
mmu.h
diff --git
a/arch/x86/kvm/mmu.h
b/arch/x86/kvm/mmu.h
index 3494a2fb136eec376707176bf38e006cb9c03053..016bf7183e9fd36e813dd202568453869fa4e9af 100644
(file)
--- a/
arch/x86/kvm/mmu.h
+++ b/
arch/x86/kvm/mmu.h
@@
-75,7
+75,7
@@
static inline int is_paging(struct kvm_vcpu *vcpu)
return vcpu->arch.cr0 & X86_CR0_PG;
}
-static inline int is_present_pte(unsigned long pte)
+static inline int is_present_
g
pte(unsigned long pte)
{
return pte & PT_PRESENT_MASK;
}