[ARM] Handle HWCAP_VFP in VFP support code
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Fri, 8 Dec 2006 15:22:20 +0000 (15:22 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 8 Dec 2006 16:05:26 +0000 (16:05 +0000)
commitefe90d273b6f365d37c0f82fbbd68a40982c3265
treea065719ebabfd6fa8b41e5a01fc5ff0c7ad3e80c
parentc99767974ebd2a719d849fdeaaa1674456f5283f
[ARM] Handle HWCAP_VFP in VFP support code

Don't set HWCAP_VFP in the processor support file; not only does it
depend on the processor features, but it also depends on the support
code being present.  Therefore, only set it if the support code
detects that we have a VFP coprocessor attached.

Also, move the VFP handling of the coprocessor access register into
the VFP support code.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c
arch/arm/mm/proc-arm926.S
arch/arm/mm/proc-v6.S
arch/arm/vfp/vfpmodule.c
include/asm-arm/system.h