commit | d10040f7eb808cd984b563d1cf727a1020990a2e | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Mon Sep 24 16:38:25 2007 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Sep 24 16:38:25 2007 +0900 |
tree | 08bb8f1357b41ee194b7f198b82af90fe9db8ccb | |
parent | 1a442fe02d205d6980202b07f799ab9336e72ad7 [diff] |
sh: Fix alias calculation for non-aliasing cases. 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>