Skip to content

Commit 952ec41

Browse files
Christoph Hellwigtorvalds
authored andcommitted
sh: implement flush_icache_user_range
The SuperH implementation of flush_icache_range seems to be able to cope with user addresses. Just define flush_icache_user_range to flush_icache_range. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Rich Felker <dalias@libc.org> Link: http://lkml.kernel.org/r/20200515143646.3857579-22-hch@lst.de Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 1268c33 commit 952ec41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/sh/include/asm/cacheflush.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ extern void flush_cache_range(struct vm_area_struct *vma,
4646
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1
4747
extern void flush_dcache_page(struct page *page);
4848
extern void flush_icache_range(unsigned long start, unsigned long end);
49+
#define flush_icache_user_range flush_icache_range
4950
extern void flush_icache_page(struct vm_area_struct *vma,
5051
struct page *page);
5152
extern void flush_cache_sigtramp(unsigned long address);

0 commit comments

Comments
 (0)