]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit105f87c171efe6b3b979dc18f8fae0369037cb63
tree152adba285f057c201c8d6c1993cfb19e96622f6
parent2f4bfde37dc991d5da125ddb33bf37ca3175e586
sh: Account for cache aliases in flush_icache_range()

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>
arch/sh/mm/cache-sh4.c