arm64: add support for kernel mode NEON
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 9 Jul 2013 13:18:12 +0000 (14:18 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 19 Jun 2014 11:33:41 +0000 (12:33 +0100)
commitdf40a738827ebc244d552261fca865c98cd35e61
tree1ee261715711f6d94ba7c8a7e1e3fa4b4eb95c12
parent8bb495e3f02401ee6f76d1b1d77f3ac9f079e376
arm64: add support for kernel mode NEON

Add <asm/neon.h> containing kernel_neon_begin/kernel_neon_end function
declarations and corresponding definitions in fpsimd.c

These are needed to wrap uses of NEON in kernel mode. The names are
identical to the ones used in arm/ so code using intrinsics or
vectorized by GCC can be shared between arm and arm64.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 4cfb36136480c029a29dbf63a623506e6ed7282b)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/Kconfig
arch/arm64/include/asm/neon.h [new file with mode: 0644]
arch/arm64/kernel/fpsimd.c