]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: implement flush_icache_user_range
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2020 04:42:32 +0000 (21:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Jun 2020 18:05:58 +0000 (11:05 -0700)
commite23c069f8c1045be0b5c4b146eafbb2c27643d3e
tree5d9d22d0752bfd0a00b564e27d6ca05ec8a9466c
parentc7078559cd2ae6038413196fafb33bd183eae9b0
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.com
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Andrew 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.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/xtensa/include/asm/cacheflush.h