提交 70cd3444 编写于 作者: C Christoph Hellwig 提交者: Linus Torvalds

xtensa: implement flush_icache_user_range

The Xtensa implementation of flush_icache_range seems to be able to cope
with user addresses.  Just define flush_icache_user_range to
flush_icache_range.

[jcmvbkbc@gmail.com: fix flush_icache_user_range in noMMU configs]
  Link: http://lkml.kernel.org/r/20200525221556.4270-1-jcmvbkbc@gmail.comSigned-off-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Link: http://lkml.kernel.org/r/20200515143646.3857579-23-hch@lst.deSigned-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 952ec41c
...@@ -145,6 +145,8 @@ void local_flush_cache_page(struct vm_area_struct *vma, ...@@ -145,6 +145,8 @@ void local_flush_cache_page(struct vm_area_struct *vma,
#endif #endif
#define flush_icache_user_range flush_icache_range
/* Ensure consistency between data and instruction cache. */ /* Ensure consistency between data and instruction cache. */
#define local_flush_icache_range(start, end) \ #define local_flush_icache_range(start, end) \
do { \ do { \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册