Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 325ffc36 authored by Catalin Marinas's avatar Catalin Marinas Committed by Russell King
Browse files

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: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e7c5650f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

			/*