Re: [PATCH v2] flush_icache_range: Export symbol to fix build errors

From: Vineet Gupta
Date: Wed Aug 20 2014 - 12:35:46 EST


On Monday 18 August 2014 08:59 AM, Pranith Kumar wrote:
> Fix building errors occuring due to a missing export of flush_icache_range() in
>
> kisskb.ellerman.id.au/kisskb/buildresult/11677809/
>
> ERROR: "flush_icache_range" [drivers/misc/lkdtm.ko] undefined!
>
> Signed-off-by: Pranith Kumar <bobby.prani@xxxxxxxxx>
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> ---
> arch/arc/mm/cache_arc700.c | 1 +
> arch/hexagon/mm/cache.c | 1 +
> arch/sh/mm/cache.c | 1 +
> arch/tile/kernel/smp.c | 1 +
> arch/xtensa/kernel/smp.c | 1 +
> 5 files changed, 5 insertions(+)
>
> diff --git a/arch/arc/mm/cache_arc700.c b/arch/arc/mm/cache_arc700.c
> index 4670afc..e88ddbf 100644
> --- a/arch/arc/mm/cache_arc700.c
> +++ b/arch/arc/mm/cache_arc700.c
> @@ -581,6 +581,7 @@ void flush_icache_range(unsigned long kstart, unsigned long kend)
> tot_sz -= sz;
> }
> }
> +EXPORT_SYMBOL(flush_icache_range);

Acked-by: Vineet Gupta <vgupta@xxxxxxxxxxxx> # for arch/arc bits

thx,
-Vineet
--
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/