sh: Fix alias calculation for non-aliasing cases.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 24 Sep 2007 07:38:25 +0000 (16:38 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 24 Sep 2007 07:38:25 +0000 (16:38 +0900)
There was an off-by-1 on the cache alias detection logic on SH-4,
which caused n_aliases to always be 1 even when the page size
precluded the existence of aliases.

With this corrected, 64KB pages happily reports n_aliases == 0, and
hits the appropriate fast paths in the flushing routines.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found