commit | a9d244a2ff163247b607c4bb64803230ca8f8acb | [log] [tgz] |
---|---|---|
author | Matt Fleming <matt@console-pimps.org> | Thu Nov 05 23:14:39 2009 +0000 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Nov 09 10:45:30 2009 +0900 |
tree | 152adba285f057c201c8d6c1993cfb19e96622f6 | |
parent | 421b541110b20ccff1a7ff3245439cb24efe9812 [diff] |
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>