[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1270810603.23809.1401149661357.JavaMail.root@bj-mail03.pku.edu.cn>
Date: Tue, 27 May 2014 08:14:21 +0800 (CST)
From: 管雪涛 <gxt@....edu.cn>
To: Chen Gang <gang.chen.5i5j@...il.com>
Cc: Guan Xuetao <gxt@...c.pku.edu.cn>, linux-kernel@...r.kernel.org
Subject: 回复: [PATCH 3/3] arch: unicore32: ksyms: export '__cpuc_coherent_kern_range' to avoid compiling failure
----- Chen Gang <gang.chen.5i5j@...il.com> 写道:
> 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@...il.com>
Acked-by: Xuetao Guan <gxt@...c.pku.edu.cn>
> ---
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists