]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: E500: Make clear_tlb_refs and clear_tlb1_bitmap static
authorAlexander Graf <agraf@suse.de>
Fri, 18 Jan 2013 14:13:19 +0000 (15:13 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 24 Jan 2013 18:23:33 +0000 (19:23 +0100)
commit9e1a8791e7e52b3ac7e00ef03c27f60da5e398cc
tree3f709714fc1da0d319630c285d0c98b39cf352cf
parentf1c0996b27215d497735ac9b1fcdb6d82a07cc9e
KVM: PPC: E500: Make clear_tlb_refs and clear_tlb1_bitmap static

Host shadow TLB flushing is logic that the guest TLB code should have
no insight about. Declare the internal clear_tlb_refs and clear_tlb1_bitmap
functions static to the host TLB handling file.

Instead of these, we can use the already exported kvmppc_core_flush_tlb().
This gives us a common API across the board to say "please flush any
pending host shadow translation".

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