Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197821
b: refs/heads/master
c: 884a0ff
h: refs/heads/master
i:
  197819: 914bfa0
v: v3
  • Loading branch information
Xiao Guangrong authored and Avi Kivity committed May 19, 2010
1 parent a912da5 commit c2a25d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e1b3ddbf220d2256a6a0d676a219ed76b8048d0
refs/heads/master: 884a0ff0b68b3ece5987507de168215e14ef7849
4 changes: 1 addition & 3 deletions trunk/arch/x86/kvm/paging_tmpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,7 @@ static void FNAME(invlpg)(struct kvm_vcpu *vcpu, gva_t gva)
level = iterator.level;
sptep = iterator.sptep;

if (level == PT_PAGE_TABLE_LEVEL ||
((level == PT_DIRECTORY_LEVEL && is_large_pte(*sptep))) ||
((level == PT_PDPE_LEVEL && is_large_pte(*sptep)))) {
if (is_last_spte(*sptep, level)) {
struct kvm_mmu_page *sp = page_header(__pa(sptep));
int offset, shift;

Expand Down

0 comments on commit c2a25d3

Please sign in to comment.