diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2013-07-09 14:18:12 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-19 12:33:41 +0100 |
commit | df40a738827ebc244d552261fca865c98cd35e61 (patch) | |
tree | 1ee261715711f6d94ba7c8a7e1e3fa4b4eb95c12 /arch/arm64/Kconfig | |
parent | 8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff) |
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>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 56b3f6d447ae..46ba68084359 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -95,6 +95,9 @@ config SWIOTLB config IOMMU_HELPER def_bool SWIOTLB +config KERNEL_MODE_NEON + def_bool y + source "init/Kconfig" source "kernel/Kconfig.freezer" |