diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-11-13 20:22:24 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-11-14 10:24:20 +0100 |
commit | d911cd944dbf3f682efdee7837aec2027c63f612 (patch) | |
tree | e3b793c83117872c1b5405b97382dc89b992f910 /src/Kbuild | |
parent | compat: 3.16.50 got proper rt6_get_cookie (diff) | |
download | wireguard-monolithic-historical-d911cd944dbf3f682efdee7837aec2027c63f612.tar.xz wireguard-monolithic-historical-d911cd944dbf3f682efdee7837aec2027c63f612.zip |
curve25519-neon: compile in thumb mode
In thumb mode, it's not possible to use sp as an operand of and, so we
have to muck around with r3 as a scratch register.
Diffstat (limited to 'src/Kbuild')
-rw-r--r-- | src/Kbuild | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -21,10 +21,7 @@ ifeq ($(CONFIG_ARM64),y) wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/chacha20-neon-arm64.o endif ifeq ($(CONFIG_ARM),y) - wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/chacha20-neon-arm.o - ifneq ($(CONFIG_CPU_THUMBONLY),y) - wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/curve25519-neon-arm.o - endif + wireguard-$(CONFIG_KERNEL_MODE_NEON) += crypto/chacha20-neon-arm.o crypto/curve25519-neon-arm.o endif ifneq ($(KBUILD_EXTMOD),) |