]> err.no Git - linux-2.6/commitdiff
KVM: MMU: Rename 'release_page'
authorAvi Kivity <avi@qumranet.com>
Wed, 21 Nov 2007 13:32:41 +0000 (15:32 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:12 +0000 (17:53 +0200)
Rename the awkwardly named variable.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c

index 86896da3e83788cdb26406bd9b1a5781fd914726..0cb6580956ba9ea3a099fd4d43c4981cdf871a54 100644 (file)
@@ -430,18 +430,18 @@ static void rmap_remove(struct kvm *kvm, u64 *spte)
        struct kvm_rmap_desc *desc;
        struct kvm_rmap_desc *prev_desc;
        struct kvm_mmu_page *sp;
-       struct page *release_page;
+       struct page *page;
        unsigned long *rmapp;
        int i;
 
        if (!is_rmap_pte(*spte))
                return;
        sp = page_header(__pa(spte));
-       release_page = pfn_to_page((*spte & PT64_BASE_ADDR_MASK) >> PAGE_SHIFT);
+       page = pfn_to_page((*spte & PT64_BASE_ADDR_MASK) >> PAGE_SHIFT);
        if (is_writeble_pte(*spte))
-               kvm_release_page_dirty(release_page);
+               kvm_release_page_dirty(page);
        else
-               kvm_release_page_clean(release_page);
+               kvm_release_page_clean(page);
        rmapp = gfn_to_rmap(kvm, sp->gfns[spte - sp->spt]);
        if (!*rmapp) {
                printk(KERN_ERR "rmap_remove: %p %llx 0->BUG\n", spte, *spte);