summaryrefslogtreecommitdiffhomepage
path: root/src/compat/simd/include
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-07 00:19:14 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-07 02:24:31 +0200
commit318893096ba2474c83cfd7b4f8ba4cb163b53430 (patch)
tree321e0086b0e831f24dbcc045c35c55275e22bec4 /src/compat/simd/include
parentb4484a96aa8488ed8e4f04d6947af23677504fe7 (diff)
compat: make asm/simd.h conditional on its existence
Android kernels backported it, complicating things. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/simd/include')
-rw-r--r--src/compat/simd/include/linux/simd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compat/simd/include/linux/simd.h b/src/compat/simd/include/linux/simd.h
index a117afd..11ee98a 100644
--- a/src/compat/simd/include/linux/simd.h
+++ b/src/compat/simd/include/linux/simd.h
@@ -7,13 +7,12 @@
#define _WG_SIMD_H
#include <linux/sched.h>
+#include <asm/simd.h>
#if defined(CONFIG_X86_64)
#include <linux/version.h>
#include <asm/fpu/api.h>
-#include <asm/simd.h>
#elif defined(CONFIG_KERNEL_MODE_NEON)
#include <asm/neon.h>
-#include <asm/simd.h>
#endif
typedef enum {