diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-06 20:55:59 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-09-06 21:07:22 -0600 |
commit | 2a5741d1706d8ff938dc681e359909746bd2f798 (patch) | |
tree | 1078616b8f5f801415342c6035e204b4fb11d170 /src | |
parent | compat: arch-namespace certain includes (diff) | |
download | wireguard-monolithic-historical-2a5741d1706d8ff938dc681e359909746bd2f798.tar.xz wireguard-monolithic-historical-2a5741d1706d8ff938dc681e359909746bd2f798.zip |
compat: move simd.h from crypto to compat since it's going upstream
Diffstat (limited to 'src')
-rw-r--r-- | src/compat/Kbuild.include | 4 | ||||
-rw-r--r-- | src/compat/simd/include/linux/simd.h (renamed from src/crypto/include/linux/simd.h) | 0 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include index 04ffdeb..879aa84 100644 --- a/src/compat/Kbuild.include +++ b/src/compat/Kbuild.include @@ -37,6 +37,10 @@ ifeq ($(wildcard $(srctree)/arch/x86/include/asm/simd.h)$(CONFIG_X86),y) ccflags-y += -I$(src)/compat/simd-x86/include endif +ifeq ($(wildcard $(srctree)/include/linux/simd.h),) +ccflags-y += -I$(src)/compat/simd/include +endif + ifeq ($(wildcard $(srctree)/include/net/udp_tunnel.h),) ccflags-y += -I$(src)/compat/udp_tunnel/include wireguard-y += compat/udp_tunnel/udp_tunnel.o diff --git a/src/crypto/include/linux/simd.h b/src/compat/simd/include/linux/simd.h index 6adf0c3..6adf0c3 100644 --- a/src/crypto/include/linux/simd.h +++ b/src/compat/simd/include/linux/simd.h |