KVM: PPC: e500: Call kvmppc_mmu_map for initial mapping
authorAlexander Graf <agraf@suse.de>
Thu, 17 Jan 2013 18:23:28 +0000 (19:23 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 24 Jan 2013 18:23:31 +0000 (19:23 +0100)
commit9d98b3ff949dab3bafa2c50856ce9e1f88497f9a
treec0fd24212abc99378d6c8bb8331cc23bee1318a8
parent2c378fd779d2b37aed64cb44caa607707edc51d3
KVM: PPC: e500: Call kvmppc_mmu_map for initial mapping

When emulating tlbwe, we want to automatically map the entry that just got
written in our shadow TLB map, because chances are quite high that it's
going to be used very soon.

Today this happens explicitly, duplicating all the logic that is in
kvmppc_mmu_map() already. Just call that one instead.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500_tlb.c