summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-18 14:30:48 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-18 14:30:48 +0200
commitd46826532803c8fb9b3f63375c3d6f69df6e6ba9 (patch)
tree6851b28733d36cfdbadb33c13383169602550709 /src
parent39ccd042f98e3a151fa74b8d0351899affecf6d4 (diff)
curve25519-arm: only compile if symbols will be used
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/crypto/zinc/curve25519/curve25519-arm.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/curve25519/curve25519-arm.S b/src/crypto/zinc/curve25519/curve25519-arm.S
index 6b9eebf..51701a2 100644
--- a/src/crypto/zinc/curve25519/curve25519-arm.S
+++ b/src/crypto/zinc/curve25519/curve25519-arm.S
@@ -7,7 +7,7 @@
* but has subsequently been manually reworked for use in kernel space.
*/
-#if __LINUX_ARM_ARCH__ == 7
+#if IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && __LINUX_ARM_ARCH__ == 7
#include <linux/linkage.h>
.text