diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2010-03-26 17:44:57 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-28 13:40:14 +0400 |
commit | 325ffc3633f1c30ef89d98d619f7e1497366e77c (patch) | |
tree | d99dd97fa648b5674812a920807d70c5bad1f3c8 /arch/arm/vfp/vfpmodule.c | |
parent | e7c5650f6067f65f8e961394f376d4862808d0d2 (diff) | |
download | linux-325ffc3633f1c30ef89d98d619f7e1497366e77c.tar.xz |
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/vfpmodule.c')
-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 7f3f59fcaa21..a420cb949328 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c @@ -545,7 +545,7 @@ static int __init vfp_init(void) */ elf_hwcap |= HWCAP_VFP; #ifdef CONFIG_VFPv3 - if (VFP_arch >= 3) { + if (VFP_arch >= 2) { elf_hwcap |= HWCAP_VFPv3; /* |