[ARM] 5545/2: add flush_kernel_dcache_page() for ARM
authorNicolas Pitre <nico@cam.org>
Fri, 12 Jun 2009 02:09:29 +0000 (03:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 14 Jun 2009 10:20:37 +0000 (11:20 +0100)
commit73be1591579084a8103a7005dd3172f3e9dd7362
tree0f9dc996b9effc48728b2e25f51c41eded8cb518
parent44b7532b8b464f606053562400719c9c21276037
[ARM] 5545/2: add flush_kernel_dcache_page() for ARM

Without this, the default implementation is a no op which is completely
wrong with a VIVT cache, and usage of sg_copy_buffer() produces
unpredictable results.

Tested-by: Sebastian Andrzej Siewior <bigeasy@breakpoint.cc>
CC: stable@kernel.org
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cacheflush.h