ååï [PATCH 3/3] arch: unicore32: ksyms: export '__cpuc_coherent_kern_range' to avoid compiling failure
From: çéæ
Date: Mon May 26 2014 - 20:14:38 EST
----- Chen Gang <gang.chen.5i5j@xxxxxxxxx> åéï
> 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@xxxxxxxxx>
Acked-by: Xuetao Guan <gxt@xxxxxxxxxxxxxxx>
> ---
> arch/unicore32/mm/proc-syms.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> 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);
> --
> 1.9.2.459.g68773ac
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/