nommu: use flush_icache_user_range in brk and mmap
authorChristoph Hellwig <hch@lst.de>
Mon, 8 Jun 2020 04:42:49 +0000 (21:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 8 Jun 2020 18:05:58 +0000 (11:05 -0700)
commita75a2df68f87c4924c614204a85b29d82d5c7dc4
tree67c6742af65ab6a401a466446341317e96b8cb19
parent79ef1e1fffebcfcb2c93463ca8d0f4a03eceb8f1
nommu: use flush_icache_user_range in brk and mmap

These obviously operate on user addresses.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg Ungerer <gerg@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Link: http://lkml.kernel.org/r/20200515143646.3857579-29-hch@lst.de
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/nommu.c