ARM: vfp: Add vfp_disable for problematic platforms
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 17 Apr 2015 23:53:58 +0000 (16:53 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 20 May 2015 22:07:00 +0000 (15:07 -0700)
commit7d7d7a413c5b8dddfde56dce1dd42e2199033c6c
treed0cec5573426b6bdde46df0eb850a8e487e09096
parente7f0f376490f754baf49976002b32c4daaaf323a
ARM: vfp: Add vfp_disable for problematic platforms

Some platforms might not be able to fully utilize VFP when e.g: one CPU
out of two in a SMP complex lacks a VFP unit. Adding code to migrate
task to the CPU which has a VFP unit would be cumbersome and not
performant, instead, just add the ability to disable VFP.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/include/asm/vfp.h
arch/arm/vfp/vfpmodule.c