sh: Fix occasional flush_cache_4096() stack corruption.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 09:37:30 +0000 (18:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 09:37:30 +0000 (18:37 +0900)
commit33573c0e3243aaa38b6ad96942de85a1b713c2ff
tree977c71557e8c1603ac4934db2d3ceb5535826701
parentf3c2575818fab45f8609e4aef2e43ab02b3a142e
sh: Fix occasional flush_cache_4096() stack corruption.

IRQs disabling in flush_cache_4096 for cache purge. Under certain
workloads we would get an IRQ in the middle of a purge operation,
and the cachelines would remain in an inconsistent state, leading
to occasional stack corruption.

Signed-off-by: Takeo Takahashi <takahashi.takeo@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache-sh4.c