From: Paul Mundt Date: Mon, 24 Sep 2007 07:38:25 +0000 (+0900) Subject: sh: Fix alias calculation for non-aliasing cases. X-Git-Tag: v2.6.24-rc1~1377^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d10040f7eb808cd984b563d1cf727a1020990a2e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed