MIPS: Export local_flush_icache_range for KVM
authorJames Hogan <james.hogan@imgtec.com>
Thu, 29 May 2014 09:16:24 +0000 (10:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 May 2014 10:59:28 +0000 (12:59 +0200)
commit90f91356c7d67ddd98d817838df69335cb831eaa
treed05c4d7a268e465f467b41236a3fac3ea2015683
parent7006e2dfda9adfa40251093604db76d7e44263b3
MIPS: Export local_flush_icache_range for KVM

Export the local_flush_icache_range function pointer for GPL modules so
that it can be used by KVM for syncing the icache after binary
translation of trapping instructions.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Gleb Natapov <gleb@kernel.org>
Cc: kvm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: Sanjay Lal <sanjayl@kymasys.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/mm/cache.c