diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-07 00:19:14 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-07 02:24:31 +0200 |
commit | 318893096ba2474c83cfd7b4f8ba4cb163b53430 (patch) | |
tree | 321e0086b0e831f24dbcc045c35c55275e22bec4 /src/compat/simd | |
parent | b4484a96aa8488ed8e4f04d6947af23677504fe7 (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')
-rw-r--r-- | src/compat/simd/include/linux/simd.h | 3 |
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 { |