ARM: 6382/1: Remove superfluous flush_kernel_dcache_page()
authorCatalin Marinas <[email protected]>
Mon, 13 Sep 2010 14:59:07 +0000 (15:59 +0100)
committerRussell King <[email protected]>
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 <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/include/asm/cacheflush.h