ARM: 6676/1: Correct the cpu_architecture() function for ARMv7
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 15 Feb 2011 17:06:57 +0000 (18:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 19 Feb 2011 11:24:28 +0000 (11:24 +0000)
commit315cfe7835c9a3fe27f15519bdeee8bf0a293e33
treee8656e0752dd6929198e2eb167eaafa5ced191ee
parent32c3fcb08178f6ca14191b22d72760984cfb75cb
ARM: 6676/1: Correct the cpu_architecture() function for ARMv7

If ID_MMFR0[3:0] >= 3, the architecture version is ARMv7. The code was
currently only testing for ID_MMFR0[3:0] == 3.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c