]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1a5a4d2184de45904d537a2267446f28701b657
treec0fd24212abc99378d6c8bb8331cc23bee1318a8
parent18e5d80eca3938a346c77196d9fcae5808025a97
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