]> git.baikalelectronics.ru Git - kernel.git/commit
sh: disabled cache handling fix.
authorMagnus Damm <damm@opensource.se>
Fri, 16 Oct 2009 05:38:48 +0000 (14:38 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 16 Oct 2009 05:38:48 +0000 (14:38 +0900)
commita8004f6f1affb3cc582e5c64f0eaaf930d394a50
tree9657db9a4c7ad10b90d51dd22851f594f9e2d9f6
parent9d65a38c47682ad88fe5dc01123b197dc10cfc56
sh: disabled cache handling fix.

Add code to handle the cache disabled case. Fixes breakage introduced by
219f6219aa4bbe63e3ca89f0764cee926a333364 ("sh: Migrate SH-4 cacheflush
ops to function pointers."). Without this patch configuring caches off
with CONFIG_CACHE_OFF=y makes kfr2r09 and migo-r lock up in fbdev
deferred io or early user space.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache.c