]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: e500: Call kvm_vcpu_uninit() before kvmppc_e500_tlb_uninit().
authorScott Wood <scottwood@freescale.com>
Tue, 5 Oct 2010 19:22:41 +0000 (14:22 -0500)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 5 Nov 2010 16:42:28 +0000 (14:42 -0200)
commit7e980c368597f5350d2371cf315cc447d8ec96ad
tree76ea2e8eb9ba6d4f9de97ddf232039ec629cc958
parent09b60a26b41ab2d9d80f66c9eb951829a8226984
KVM: PPC: e500: Call kvm_vcpu_uninit() before kvmppc_e500_tlb_uninit().

The VCPU uninit calls some TLB functions, and the TLB uninit function
frees the memory used by them.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Acked-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500.c