]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: 7483/1: vfp: only advertise VFPv4 in hwcaps if CONFIG_VFPv3 is enabled
authorWill Deacon <will.deacon@arm.com>
Fri, 3 Aug 2012 16:24:14 +0000 (17:24 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Sep 2012 02:36:56 +0000 (03:36 +0100)
commit22ea071ae686f53bd4902b96b58c8c64976f831d
tree1c15f587bea097a643b7af132657ac8ace03d7a4
parent18256787181341d60420bc17b345ca1ff6444661
ARM: 7483/1: vfp: only advertise VFPv4 in hwcaps if CONFIG_VFPv3 is enabled

commit 3d9fb0038a9b02febb01efc79a4a5d97f1822a90 upstream.

VFPv4 support depends on the VFPv3 context save/restore code, so only
advertise support in the hwcaps if the kernel can actually handle it.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/arm/vfp/vfpmodule.c