sh: Provide __flush_anon_page().
commitc0fe478dbb14fd32e71d1383dbe302b54ce94134
authorPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 07:02:43 +0000 (4 16:02 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 4 Aug 2009 07:02:43 +0000 (4 16:02 +0900)
tree65bf8762df2a02d01a7f1326c67c078a98c51c39
parentb5eb10ae901fa797c19accb684825f0e36ecbe0f
sh: Provide __flush_anon_page().

This provides a __flush_anon_page() that handles both the aliasing and
non-aliasing cases. This fixes up some crashes with heavy
get_user_pages() users.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/cacheflush.h
arch/sh/mm/pg-mmu.c