diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-14 00:18:40 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-14 00:18:40 +0200 |
commit | 4e9f1202f8f9e092984ae197a58d8503b18af848 (patch) | |
tree | 3abb1bb97e0926355fd95e3772366b198ae08369 /src | |
parent | version: bump snapshot (diff) | |
download | wireguard-monolithic-historical-4e9f1202f8f9e092984ae197a58d8503b18af848.tar.xz wireguard-monolithic-historical-4e9f1202f8f9e092984ae197a58d8503b18af848.zip |
chacha20poly1305: use slow crypto on -rt kernels on arm too
Diffstat (limited to 'src')
-rw-r--r-- | src/crypto/chacha20poly1305.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/chacha20poly1305.h b/src/crypto/chacha20poly1305.h index f19bf52..1b122ac 100644 --- a/src/crypto/chacha20poly1305.h +++ b/src/crypto/chacha20poly1305.h @@ -60,7 +60,7 @@ static inline bool chacha20poly1305_init_simd(void) have_simd = irq_fpu_usable(); if (have_simd) kernel_fpu_begin(); -#elif IS_ENABLED(CONFIG_KERNEL_MODE_NEON) +#elif IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !defined(CONFIG_PREEMPT_RT_BASE) #if defined(CONFIG_ARM64) have_simd = true; /* ARM64 supports NEON in any context. */ #elif defined(CONFIG_ARM) |