sh: Account for cache aliases in flush_icache_range()
authorMatt Fleming <matt@console-pimps.org>
Thu, 5 Nov 2009 23:14:39 +0000 (23:14 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 9 Nov 2009 01:45:30 +0000 (10:45 +0900)
The icache may also contain aliases so we must account for them just
like we do when manipulating the dcache. We usually get away with
aliases in the icache because the instructions that are read from memory
are read-only, i.e. they never change. However, the place where this
bites us is when the code has been modified.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found