ARM: 6382/1: Remove superfluous flush_kernel_dcache_page()
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 13 Sep 2010 14:59:07 +0000 (15:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 19 Sep 2010 11:17:46 +0000 (12:17 +0100)
commitf8b63c184ad13cc8adc3dadb557d4fbc29f76e4d
treeaa524d2dce83f7cae404655785ba5cb344dd763e
parent85848dd7ab75fce1134856228582a8df522c91d9
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 <nicolas.pitre@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cacheflush.h
This page took 0.024967 seconds and 5 git commands to generate.