arm64: add support for kernel mode NEON
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 9 Jul 2013 13:18:12 +0000 (14:18 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 20 Aug 2013 11:12:26 +0000 (12:12 +0100)
commit4cfb36136480c029a29dbf63a623506e6ed7282b
treed812d9d1a8dd903be440257faf1a5e5c19cb70e1
parent178cd9ce377232518ec17ff2ecab2e80fa60784c
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>
arch/arm64/Kconfig
arch/arm64/include/asm/neon.h [new file with mode: 0644]
arch/arm64/kernel/fpsimd.c