summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-03-03 10:44:12 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-03-03 12:11:26 (GMT)
commitb57ee99fab25dbc12150fe66fe54dc52bc6de784 (patch)
tree21bd531baa837d47ff600d36cef524b0ff4cb94c /include
parent25ef4a67e78e1322d55f0a38783537ed89addc02 (diff)
downloadlinux-fsl-qoriq-b57ee99fab25dbc12150fe66fe54dc52bc6de784.tar.xz
[ARM] 5417/1: Set the correct cacheid for ARMv6 CPUs with ARMv7 style MMU
The cacheid_init() function assumes that if cpu_architecture() returns 7, the caches are VIPT_NONALIASING. The cpu_architecture() function returns the version of the supported MMU features (e.g. TEX remapping) but it doesn't make any assumptions about the cache type. The patch adds the checking of the Cache Type Register for the ARMv7 format. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions