summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/e500_mmu_host.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-01-18 14:13:19 (GMT)
committerStuart Yoder <stuart.yoder@freescale.com>2013-04-11 22:29:38 (GMT)
commitbc96925363bfcb6635454ea0ac6d0cb59971e6af (patch)
treef1ef486dfc706e8874eb4cce251da1a0785ee9e2 /arch/powerpc/kvm/e500_mmu_host.h
parentdbdb730edf74056c901b6540a3e306b4cc8216b2 (diff)
downloadlinux-fsl-qoriq-bc96925363bfcb6635454ea0ac6d0cb59971e6af.tar.xz
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>
Diffstat (limited to 'arch/powerpc/kvm/e500_mmu_host.h')
-rw-r--r--arch/powerpc/kvm/e500_mmu_host.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/e500_mmu_host.h b/arch/powerpc/kvm/e500_mmu_host.h
index 9e4d4a2..7624835 100644
--- a/arch/powerpc/kvm/e500_mmu_host.h
+++ b/arch/powerpc/kvm/e500_mmu_host.h
@@ -12,8 +12,6 @@
void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel,
int esel);
-void clear_tlb1_bitmap(struct kvmppc_vcpu_e500 *vcpu_e500);
-void clear_tlb_refs(struct kvmppc_vcpu_e500 *vcpu_e500);
int e500_mmu_host_init(struct kvmppc_vcpu_e500 *vcpu_e500);
void e500_mmu_host_uninit(struct kvmppc_vcpu_e500 *vcpu_e500);