sh: Add sys_cacheflush() call for SH CPUs.
authorStuart Menefy <stuart.menefy@st.com>
Mon, 24 Aug 2009 09:16:56 +0000 (18:16 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 24 Aug 2009 09:16:56 +0000 (18:16 +0900)
Adds a system call to allow user code to flush code from the cache.
You can use instructions for the data side, but the iside can
only be done by a flush ROM which really only works with a direct
mapped cache. The later SH4's have 2 way Iside, so this call allows
a portable way to flush the cache.

Signed-off-by: Stuart Menefy <stuart.menefy@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found