diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-09-24 16:38:25 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-09-24 16:38:25 +0900 |
commit | d10040f7eb808cd984b563d1cf727a1020990a2e (patch) | |
tree | 08bb8f1357b41ee194b7f198b82af90fe9db8ccb /arch/sh/mm/fault.c | |
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>
Diffstat (limited to 'arch/sh/mm/fault.c')
0 files changed, 0 insertions, 0 deletions