aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Kbuild
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-11-13 20:22:24 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-11-14 10:24:20 +0100
commitd911cd944dbf3f682efdee7837aec2027c63f612 (patch)
treee3b793c83117872c1b5405b97382dc89b992f910 /src/Kbuild
parentcompat: 3.16.50 got proper rt6_get_cookie (diff)
downloadwireguard-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/Kbuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Kbuild b/src/Kbuild
index 2ef4efd..810debe 100644
--- a/src/Kbuild
+++ b/src/Kbuild
@@ -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),)