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)
commitf22e2f049d4643ed3c2d498ca50f894ace87962b
tree76ea2e8eb9ba6d4f9de97ddf232039ec629cc958
parenta36be1003a80197714fc2b6e198df2f31f9eb270
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