summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Gang <gang.chen.5i5j@gmail.com>2014-05-27 08:08:06 +0800
committerGuan Xuetao <gxt@mprc.pku.edu.cn>2014-06-20 08:22:41 +0800
commit92543fd756cca554a37e343616a212c435168967 (patch)
treebdf12f7513e6a46db3352b6f016479cb5581e58f
parent3420d49dd3f22a3342bec16dc0bd2b64eaf061a5 (diff)
downloadop-kernel-dev-92543fd756cca554a37e343616a212c435168967.zip
op-kernel-dev-92543fd756cca554a37e343616a212c435168967.tar.gz
arch: unicore32: ksyms: export '__cpuc_coherent_kern_range' to avoid 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 <gang.chen.5i5j@gmail.com> Acked-by: Xuetao Guan <gxt@mprc.pku.edu.cn> Signed-off-by: Xuetao Guan <gxt@mprc.pku.edu.cn>
-rw-r--r--arch/unicore32/mm/proc-syms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/unicore32/mm/proc-syms.c b/arch/unicore32/mm/proc-syms.c
index f30071e..21c00fc 100644
--- a/arch/unicore32/mm/proc-syms.c
+++ b/arch/unicore32/mm/proc-syms.c
@@ -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);
OpenPOWER on IntegriCloud