From: Christoph Hellwig <hch@xxxxxx> Subject: powerpc: unexport flush_icache_user_range flush_icache_user_range is only used by copy_to_user_page, which is only used by core VM code. Link: http://lkml.kernel.org/r/20200515143646.3857579-4-hch@xxxxxx Signed-off-by: Christoph Hellwig <hch@xxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/powerpc/mm/mem.c | 1 - 1 file changed, 1 deletion(-) --- a/arch/powerpc/mm/mem.c~powerpc-unexport-flush_icache_user_range +++ a/arch/powerpc/mm/mem.c @@ -586,7 +586,6 @@ void flush_icache_user_range(struct vm_a flush_icache_range(maddr, maddr + len); kunmap(page); } -EXPORT_SYMBOL(flush_icache_user_range); /* * System memory should not be in /proc/iomem but various tools expect it _