]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: cacheflush: Use __flush_icache_user_range()
authorJames Hogan <james.hogan@imgtec.com>
Thu, 1 Sep 2016 16:30:12 +0000 (17:30 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 4 Oct 2016 14:13:57 +0000 (16:13 +0200)
commitef2cb79363a715581e570ca819ebc8191e855a0a
tree1d97af9be79d14fb09ffcc8b94bb7447ec63c69b
parentb80c4daee1ef1ee688cb0147de2b82bf39d551ae
MIPS: cacheflush: Use __flush_icache_user_range()

The cacheflush(2) system call uses flush_icache_range() to flush a range
of usermode addresses from the icache, so change it to utilise the new
__flush_icache_user_range() API to allow the more generic
flush_icache_range() to be changed to work on kernel addresses only.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14153/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/cache.c