OSDN Git Service

[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)
committerSan Mehat <san@google.com>
Mon, 17 Aug 2009 15:02:40 +0000 (08:02 -0700)
commit072a0172bf11bf37f0fd1f7c65adf51be6fa29f3
treef1ab4a8c955260a68d49919f01f55d8943c7191c
parentf472cfc5696c56ac22ddcc2baa53025d2b07742f
[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>
Signed-off-by: San Mehat <san@google.com>
arch/arm/include/asm/cacheflush.h