aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2013-07-09 14:18:12 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2013-08-20 12:12:26 +0100
commit4cfb36136480c029a29dbf63a623506e6ed7282b (patch)
treed812d9d1a8dd903be440257faf1a5e5c19cb70e1 /arch/arm64/Kconfig
parentarm64: perf: fix ARMv8 EVTYPE_MASK to include NSH bit (diff)
downloadlinux-dev-4cfb36136480c029a29dbf63a623506e6ed7282b.tar.xz
linux-dev-4cfb36136480c029a29dbf63a623506e6ed7282b.zip
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>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r--arch/arm64/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9737e97f9f38..ae323a45c28c 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -96,6 +96,9 @@ config SWIOTLB
config IOMMU_HELPER
def_bool SWIOTLB
+config KERNEL_MODE_NEON
+ def_bool y
+
source "init/Kconfig"
source "kernel/Kconfig.freezer"