sh: Zero out aliases counter when using SH-X3 hardware assistance.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 20 Apr 2010 06:37:23 +0000 (15:37 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 20 Apr 2010 06:37:23 +0000 (15:37 +0900)
commit88253e845996670f56635b054550fa45e1fec3d8
treeb8263438256290127d4c845de9929164dc725cfd
parent1d5cc550ede76825ab401941fb1165f2056e2c46
sh: Zero out aliases counter when using SH-X3 hardware assistance.

This zeroes out the number of cache aliases in the cache info descriptors
when hardware alias avoidance is enabled. This cuts down on the amount of
flushing taken care of by common code, and also permits coherency control
to be disabled for the single CPU and 4k page size case.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/cache-shx3.c