arm64: rockchip: add support for kernel mode NEON
authorHuang, Tao <huangtao@rock-chips.com>
Tue, 27 Oct 2015 11:54:13 +0000 (19:54 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 27 Oct 2015 11:54:13 +0000 (19:54 +0800)
Change-Id: I964c5dad5562f0342b1d11d9a0483fcac0394e4d
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
arch/arm64/Kconfig
arch/arm64/kernel/fpsimd.c

index 6135ace7e11f0a81270aa99d7b4ebcb414cf13f2..177f672b9091351fb2a533113d0bb589151a7916 100644 (file)
@@ -129,6 +129,9 @@ config SWIOTLB
 config IOMMU_HELPER
        def_bool SWIOTLB
 
+config KERNEL_MODE_NEON
+       def_bool y
+
 config FIX_EARLYCON_MEM
        def_bool y
 
index 5ba0217df39b7463bb76e7b96cb499c412470ffe..f1d59be1c0903b4a2015eb57146eca806fbf46c3 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/init.h>
 #include <linux/sched.h>
 #include <linux/signal.h>
+#include <linux/hardirq.h>
 
 #include <asm/fpsimd.h>
 #include <asm/cputype.h>