From: Simon Baatz Date: Mon, 10 Jun 2013 20:10:12 +0000 (+0100) Subject: ARM: 7755/1: handle user space mapped pages in flush_kernel_dcache_page X-Git-Tag: v3.2.48~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa76cd49f117853eb06d3de8f343a99421d8ddc3;p=pandora-kernel.git ARM: 7755/1: handle user space mapped pages in flush_kernel_dcache_page commit 1bc39742aab09248169ef9d3727c9def3528b3f3 upstream. Commit f8b63c1 made flush_kernel_dcache_page a no-op assuming that the pages it needs to handle are kernel mapped only. However, for example when doing direct I/O, pages with user space mappings may occur. Thus, continue to do lazy flushing if there are no user space mappings. Otherwise, flush the kernel cache lines directly. Signed-off-by: Simon Baatz Reviewed-by: Catalin Marinas Signed-off-by: Russell King Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed