From: Paul Mundt Date: Wed, 7 Feb 2007 09:35:39 +0000 (+0900) Subject: sh: dcache write-back for R7780RP PIO. X-Git-Tag: v2.6.21-rc1~179^2~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5904539b7f21ae97f16278ea4bfb81fd19749e1a;p=linux-2.6 sh: dcache write-back for R7780RP PIO. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/boards/renesas/r7780rp/io.c b/arch/sh/boards/renesas/r7780rp/io.c index 311ccccba7..369cbf1cd4 100644 --- a/arch/sh/boards/renesas/r7780rp/io.c +++ b/arch/sh/boards/renesas/r7780rp/io.c @@ -214,6 +214,8 @@ void r7780rp_insw(unsigned long port, void *dst, unsigned long count) while (count--) *buf++ = *p; + + flush_dcache_all(); } void r7780rp_insl(unsigned long port, void *dst, unsigned long count) @@ -271,6 +273,8 @@ void r7780rp_outsw(unsigned long port, const void *src, unsigned long count) while (count--) *p = *buf++; + + flush_dcache_all(); } void r7780rp_outsl(unsigned long port, const void *src, unsigned long count)