aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Hogan <[email protected]>2014-05-29 10:16:24 +0100
committerPaolo Bonzini <[email protected]>2014-05-30 12:59:28 +0200
commit90f91356c7d67ddd98d817838df69335cb831eaa (patch)
treed05c4d7a268e465f467b41236a3fac3ea2015683
parent7006e2dfda9adfa40251093604db76d7e44263b3 (diff)
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 <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Gleb Natapov <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Sanjay Lal <[email protected]> Acked-by: Ralf Baechle <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
-rw-r--r--arch/mips/mm/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c
index e422b38d3113..5aaa5c799731 100644
--- a/arch/mips/mm/cache.c
+++ b/arch/mips/mm/cache.c
@@ -30,6 +30,7 @@ void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page,
unsigned long pfn);
void (*flush_icache_range)(unsigned long start, unsigned long end);
void (*local_flush_icache_range)(unsigned long start, unsigned long end);
+EXPORT_SYMBOL_GPL(local_flush_icache_range);
void (*__flush_cache_vmap)(void);
void (*__flush_cache_vunmap)(void);