Skip to content

Commit

Permalink
metag: export metag_code_cache_flush_all
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Hogan committed Mar 2, 2013
1 parent 3d6b7bb commit f626dc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/metag/mm/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f626dc7

Please sign in to comment.