From: Max Filippov Date: Tue, 1 Aug 2017 18:15:15 +0000 (-0700) Subject: xtensa: mm/cache: add missing EXPORT_SYMBOLs X-Git-Tag: v3.2.95~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfd73915e217c3580ce4fd6c3f52d2422028adea;p=thirdparty%2Fkernel%2Fstable.git xtensa: mm/cache: add missing EXPORT_SYMBOLs commit bc652eb6a0d5cffaea7dc8e8ad488aab2a1bf1ed upstream. Functions clear_user_highpage, copy_user_highpage, flush_dcache_page, local_flush_cache_range and local_flush_cache_page may be used from modules. Export them. Signed-off-by: Max Filippov [bwh: Backported to 3.2: drop exports of {clear,copy}_user_highpage()] Signed-off-by: Ben Hutchings --- diff --git a/arch/xtensa/mm/cache.c b/arch/xtensa/mm/cache.c index 6213c90aa9225..1b6246108b3c4 100644 --- a/arch/xtensa/mm/cache.c +++ b/arch/xtensa/mm/cache.c @@ -112,7 +112,7 @@ void flush_dcache_page(struct page *page) /* There shouldn't be an entry in the cache for this page anymore. */ } - +EXPORT_SYMBOL(flush_dcache_page); /* * For now, flush the whole cache. FIXME?? @@ -124,6 +124,7 @@ void flush_cache_range(struct vm_area_struct* vma, __flush_invalidate_dcache_all(); __invalidate_icache_all(); } +EXPORT_SYMBOL(local_flush_cache_range); /* * Remove any entry in the cache for this page. @@ -143,6 +144,7 @@ void flush_cache_page(struct vm_area_struct* vma, unsigned long address, __flush_invalidate_dcache_page_alias(virt, phys); __invalidate_icache_page_alias(virt, phys); } +EXPORT_SYMBOL(local_flush_cache_page); #endif /* DCACHE_WAY_SIZE > PAGE_SIZE */