diff options
Diffstat (limited to 'src/crypto/zinc/chacha20/chacha20-arm.pl')
-rw-r--r-- | src/crypto/zinc/chacha20/chacha20-arm.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/chacha20/chacha20-arm.pl b/src/crypto/zinc/chacha20/chacha20-arm.pl index 3621957..6a7d62c 100644 --- a/src/crypto/zinc/chacha20/chacha20-arm.pl +++ b/src/crypto/zinc/chacha20/chacha20-arm.pl @@ -693,7 +693,7 @@ my ($a,$b,$c,$d,$t)=@_; } $code.=<<___; -#if __ARM_MAX_ARCH__>=7 +#if (defined(__KERNEL__) && defined(CONFIG_KERNEL_MODE_NEON)) || (!defined(__KERNEL__) && __ARM_MAX_ARCH__>=7) .arch armv7-a .fpu neon |