diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-21 08:32:41 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:12 -0500 |
commit | 76c35c6e99cb46b936b88cc795c9c886e7fe7bd4 (patch) | |
tree | 50b115f7cf35ee1d450ac09548ae456f2f66d3f5 /drivers/kvm/mmu.c | |
parent | 4db3531487bdde4027b701da7c1b8d094ae2cc91 (diff) |
KVM: MMU: Rename 'release_page'
Rename the awkwardly named variable.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/mmu.c')
-rw-r--r-- | drivers/kvm/mmu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/kvm/mmu.c b/drivers/kvm/mmu.c index 86896da3e837..0cb6580956ba 100644 --- a/drivers/kvm/mmu.c +++ b/drivers/kvm/mmu.c | |||
@@ -430,18 +430,18 @@ static void rmap_remove(struct kvm *kvm, u64 *spte) | |||
430 | struct kvm_rmap_desc *desc; | 430 | struct kvm_rmap_desc *desc; |
431 | struct kvm_rmap_desc *prev_desc; | 431 | struct kvm_rmap_desc *prev_desc; |
432 | struct kvm_mmu_page *sp; | 432 | struct kvm_mmu_page *sp; |
433 | struct page *release_page; | 433 | struct page *page; |
434 | unsigned long *rmapp; | 434 | unsigned long *rmapp; |
435 | int i; | 435 | int i; |
436 | 436 | ||
437 | if (!is_rmap_pte(*spte)) | 437 | if (!is_rmap_pte(*spte)) |
438 | return; | 438 | return; |
439 | sp = page_header(__pa(spte)); | 439 | sp = page_header(__pa(spte)); |
440 | release_page = pfn_to_page((*spte & PT64_BASE_ADDR_MASK) >> PAGE_SHIFT); | 440 | page = pfn_to_page((*spte & PT64_BASE_ADDR_MASK) >> PAGE_SHIFT); |
441 | if (is_writeble_pte(*spte)) | 441 | if (is_writeble_pte(*spte)) |
442 | kvm_release_page_dirty(release_page); | 442 | kvm_release_page_dirty(page); |
443 | else | 443 | else |
444 | kvm_release_page_clean(release_page); | 444 | kvm_release_page_clean(page); |
445 | rmapp = gfn_to_rmap(kvm, sp->gfns[spte - sp->spt]); | 445 | rmapp = gfn_to_rmap(kvm, sp->gfns[spte - sp->spt]); |
446 | if (!*rmapp) { | 446 | if (!*rmapp) { |
447 | printk(KERN_ERR "rmap_remove: %p %llx 0->BUG\n", spte, *spte); | 447 | printk(KERN_ERR "rmap_remove: %p %llx 0->BUG\n", spte, *spte); |