From: Catalin Marinas Date: Fri, 26 Mar 2010 14:44:57 +0000 (+0100) Subject: ARM: 5997/1: ARM: Correct the VFPv3 detection X-Git-Tag: upstream/snapshot3+hdmi~14920^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=325ffc3633f1c30ef89d98d619f7e1497366e77c;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Russell King --- diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index 7f3f59f..a420cb9 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; /*