From: Catalin Marinas Date: Tue, 25 Sep 2007 15:49:45 +0000 (+0100) Subject: [ARM] 4585/1: Correctly identify the CPU architecture version X-Git-Tag: v2.6.24-rc1~1273^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=180005c4efb76a81fd0abcef4c2412d238eea20c;p=pandora-kernel.git [ARM] 4585/1: Correctly identify the CPU architecture version The cpu_architecture() function in arch/arm/kernel/setup.c only works with cores produced by ARM Ltd. The more generic approach is to read the ID_MMFR0 register and check for the VMSA or PMSA version supported. With this patch, the ARM11MPCore would be reported as ARMv7 since its MMU is compatible with ARMv7. Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed