diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2008-05-21 18:22:53 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-06-06 21:22:25 +0300 |
commit | 52435b7c7a29f7dd7947c8c204494d7f52f14813 (patch) | |
tree | 78a5a15b8b3a738595c476f616ee02a73c29fe68 /arch/powerpc/kvm | |
parent | ac3cd34e4eb9e3dccaec8e586c073ba2660b322f (diff) | |
download | linux-stable-52435b7c7a29f7dd7947c8c204494d7f52f14813.tar.gz linux-stable-52435b7c7a29f7dd7947c8c204494d7f52f14813.tar.bz2 linux-stable-52435b7c7a29f7dd7947c8c204494d7f52f14813.zip |
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>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r-- | 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 f5d7a5eab96e..aa649c7db99b 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); |