diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2010-03-26 10:44:57 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-28 05:40:14 -0400 |
commit | 325ffc3633f1c30ef89d98d619f7e1497366e77c (patch) | |
tree | d99dd97fa648b5674812a920807d70c5bad1f3c8 /arch/arm/vfp | |
parent | e7c5650f6067f65f8e961394f376d4862808d0d2 (diff) |
ARM: 5997/1: ARM: Correct the VFPv3 detection
A CPU has VFPv3 hardware if the FPSID[19:16] bits are 2 or more.
Currently Linux was only checking for 3 or more.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/vfp')
-rw-r--r-- | arch/arm/vfp/vfpmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index 7f3f59fcaa2..a420cb94932 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c | |||
@@ -545,7 +545,7 @@ static int __init vfp_init(void) | |||
545 | */ | 545 | */ |
546 | elf_hwcap |= HWCAP_VFP; | 546 | elf_hwcap |= HWCAP_VFP; |
547 | #ifdef CONFIG_VFPv3 | 547 | #ifdef CONFIG_VFPv3 |
548 | if (VFP_arch >= 3) { | 548 | if (VFP_arch >= 2) { |
549 | elf_hwcap |= HWCAP_VFPv3; | 549 | elf_hwcap |= HWCAP_VFPv3; |
550 | 550 | ||
551 | /* | 551 | /* |