KVM: ppc: Remove unmatched kunmap() call

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, June 11, 2008 - 6:06 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=52435b...
Commit:     52435b7c7a29f7dd7947c8c204494d7f52f14813
Parent:     ac3cd34e4eb9e3dccaec8e586c073ba2660b322f
Author:     Hollis Blanchard <hollisb@us.ibm.com>
AuthorDate: Wed May 21 18:22:53 2008 -0500
Committer:  Avi Kivity <avi@qumranet.com>
CommitDate: Fri Jun 6 21:22:25 2008 +0300

    KVM: ppc: Remove unmatched kunmap() call
    
    We're not calling kmap() now, so we shouldn't call kunmap() either. This has no
    practical effect in the non-highmem case, which is why it hasn't caused more
    obvious problems.
    
    Pointed out by Anthony Liguori.
    
    Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
    Signed-off-by: Avi Kivity <avi@qumranet.com>
---
 arch/powerpc/kvm/44x_tlb.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/kvm/44x_tlb.c b/arch/powerpc/kvm/44x_tlb.c
index f5d7a5e..aa649c7 100644
--- a/arch/powerpc/kvm/44x_tlb.c
+++ b/arch/powerpc/kvm/44x_tlb.c
@@ -116,8 +116,6 @@ static void kvmppc_44x_shadow_release(struct kvm_vcpu *vcpu,
 	struct tlbe *stlbe = &vcpu->arch.shadow_tlb[index];
 	struct page *page = vcpu->arch.shadow_pages[index];
 
-	kunmap(vcpu->arch.shadow_pages[index]);
-
 	if (get_tlb_v(stlbe)) {
 		if (kvmppc_44x_tlbe_is_writable(stlbe))
 			kvm_release_page_dirty(page);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
KVM: ppc: Remove unmatched kunmap() call, Linux Kernel Mailing ..., (Wed Jun 11, 6:06 pm)