Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197763
b: refs/heads/master
c: 77a1a71
h: refs/heads/master
i:
  197761: 5d2e775
  197759: 3b4ec2f
v: v3
  • Loading branch information
Wei Yongjun authored and Avi Kivity committed May 17, 2010
1 parent 64df325 commit b397e33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 2a059bf444dd7758ccf48f217cd981570132be85
refs/heads/master: 77a1a715707d0f60ce0cfbe44070527a0a561f01
2 changes: 1 addition & 1 deletion trunk/arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,9 @@ static void unaccount_shadowed(struct kvm *kvm, gfn_t gfn)
int i;

gfn = unalias_gfn(kvm, gfn);
slot = gfn_to_memslot_unaliased(kvm, gfn);
for (i = PT_DIRECTORY_LEVEL;
i < PT_PAGE_TABLE_LEVEL + KVM_NR_PAGE_SIZES; ++i) {
slot = gfn_to_memslot_unaliased(kvm, gfn);
write_count = slot_largepage_idx(gfn, slot, i);
*write_count -= 1;
WARN_ON(*write_count < 0);
Expand Down

0 comments on commit b397e33

Please sign in to comment.