arm64: Move FP/ASIMD hwcap handling to common code
authorSuzuki K. Poulose <suzuki.poulose@arm.com>
Mon, 19 Oct 2015 13:24:53 +0000 (14:24 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 21 Oct 2015 14:35:59 +0000 (15:35 +0100)
commitfe80f9f2da1006a4308c2bc018ee1d67f10dd8d0
tree586b2d8e63623c0ff0ac7018dbaabbfabe391eeb
parent37b01d53ceefa390d6eee7a82f3c156b64951bf3
arm64: Move FP/ASIMD hwcap handling to common code

The FP/ASIMD is detected in fpsimd_init(), which is built-in
unconditionally. Lets move the hwcap handling to the central place.

Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Tested-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/fpsimd.c