summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/mmu.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-11-21 14:32:41 +0100
committerAvi Kivity <avi@qumranet.com>2008-01-30 16:53:12 +0100
commit76c35c6e99cb46b936b88cc795c9c886e7fe7bd4 (patch)
tree50b115f7cf35ee1d450ac09548ae456f2f66d3f5 /drivers/kvm/mmu.c
parentKVM: MMU: Rename variables of type 'struct kvm_mmu_page *' (diff)
downloadlinux-76c35c6e99cb46b936b88cc795c9c886e7fe7bd4.tar.xz
linux-76c35c6e99cb46b936b88cc795c9c886e7fe7bd4.zip
KVM: MMU: Rename 'release_page'
Rename the awkwardly named variable. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to '')
-rw-r--r--drivers/kvm/mmu.c8
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)
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);