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 | dbfc216dcfd725073f17cdc27523a1b30b48a1a4 (patch) | |
tree | 3b07c171eb96bd546878fe65d55878b41e77e91f /src/Kbuild | |
parent | bbb1f11d947f3c24ac92cc0be15a719820d06e7f (diff) |
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.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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),) |