summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-02-07 10:35:39 +0100
committerPaul Mundt <lethal@linux-sh.org>2007-02-13 02:54:45 +0100
commit5904539b7f21ae97f16278ea4bfb81fd19749e1a (patch)
treeca66cc6e82dce914b5e98adddf015149b44fe43c /arch/sh
parentsh: Switch to local TLB flush variants in additional callsites. (diff)
downloadlinux-5904539b7f21ae97f16278ea4bfb81fd19749e1a.tar.xz
linux-5904539b7f21ae97f16278ea4bfb81fd19749e1a.zip
sh: dcache write-back for R7780RP PIO.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boards/renesas/r7780rp/io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/boards/renesas/r7780rp/io.c b/arch/sh/boards/renesas/r7780rp/io.c
index 311ccccba718..369cbf1cd471 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)