Skip to content

Commit

Permalink
arch: unicore32: ksyms: export '__cpuc_coherent_kern_range' to avoid …
Browse files Browse the repository at this point in the history
…compiling failure

flush_icache_range() is '__cpuc_coherent_kern_range' under unicore32,
and lkdtm.ko needs it. At present, '__cpuc_coherent_kern_range' is
still used by unicore32, so export it to avoid compiling failure.

The related error (with allmodconfig under unicore32):

  ERROR: "__cpuc_coherent_kern_range" [drivers/misc/lkdtm.ko] undefined!

Signed-off-by: Chen Gang <[email protected]>
Acked-by: Xuetao Guan <[email protected]>
Signed-off-by: Xuetao Guan <[email protected]>
  • Loading branch information
Chen-Gang authored and gxt committed Jun 20, 2014
1 parent 3420d49 commit 92543fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/unicore32/mm/proc-syms.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@
EXPORT_SYMBOL(cpu_dcache_clean_area);
EXPORT_SYMBOL(cpu_set_pte);

EXPORT_SYMBOL(__cpuc_coherent_kern_range);

EXPORT_SYMBOL(__cpuc_dma_flush_range);
EXPORT_SYMBOL(__cpuc_dma_clean_range);

0 comments on commit 92543fd

Please sign in to comment.