From: Catalin Marinas Date: Mon, 13 Sep 2010 14:59:07 +0000 (+0100) Subject: ARM: 6382/1: Remove superfluous flush_kernel_dcache_page() X-Git-Tag: v2.6.37-rc1~184^2~7^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8b63c184ad13cc8adc3dadb557d4fbc29f76e4d;p=pandora-kernel.git ARM: 6382/1: Remove superfluous flush_kernel_dcache_page() Since page cache pages are now considered 'dirty' by default, the cache flushing is handled via __flush_dcache_page() when a page gets mapped to user space. Highmem pages on VIVT systems are flushed during kunmap() and flush_kernel_dcache_page() was already a no-op in this case. ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE is still defined since ARM needs specific implementations for flush_kernel_vmap_range() and invalidate_kernel_vmap_range(). Cc: Nicolas Pitre Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed