summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-02-11 15:43:20 +0400
committerJames Hogan <james.hogan@imgtec.com>2013-03-03 00:11:12 +0400
commitf626dc704e761761b37efbb6320308461f159375 (patch)
treec9fe9bf98a74c359a6f4790a871ce3647a7eb5b4 /arch
parent3d6b7bb0a2c518d24bc3036f9bbb6f3fb35462c3 (diff)
downloadlinux-f626dc704e761761b37efbb6320308461f159375.tar.xz
metag: export metag_code_cache_flush_all
Various file systems indirectly use metag_code_cache_flush_all(), so when they're built as modules we get build errors like the following: ERROR: "metag_code_cache_flush_all" [fs/xfs/xfs.ko] undefined! Therefore export this function to modules to fix the errors. This was hit by a randconfig build. Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/metag/mm/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/metag/mm/cache.c b/arch/metag/mm/cache.c
index 4dd96e457fa2..b5d3b2e7c160 100644
--- a/arch/metag/mm/cache.c
+++ b/arch/metag/mm/cache.c
@@ -460,6 +460,7 @@ void metag_code_cache_flush_all(const void *start)
metag_phys_code_cache_flush(start, 4096);
}
+EXPORT_SYMBOL(metag_code_cache_flush_all);
void metag_code_cache_flush(const void *start, int bytes)
{