From: Russell King Date: Sun, 27 Jul 2008 09:10:58 +0000 (+0100) Subject: [ARM] fix VIPT/VIVT macro optimisations, add comments X-Git-Tag: v2.6.27-rc1~52^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daf93dd55c48b65ab2f1907e0fc5ef994896c787;p=pandora-kernel.git [ARM] fix VIPT/VIVT macro optimisations, add comments cacheflush.h was doing: ... VIVT only stuff ... VIPT only stuff ... VIVT or VIPT stuff which is clearly bogus - we would only ever use the "VIVT or VIPT" case when both VIVT and VIPT are not selected. Fix this. Add comments to each case, including noting the impossibility of correctly detecting the cache type of ARM926 and ARMv6 cores from the cache type register in the "VIVT or VIPT" case. Signed-off-by: Russell King --- Reading git-diff-tree failed