summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-09-01 16:25:41 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-09-07 16:08:29 +0300
commit2117eaa62aa92776d1465abcfaa5becfd8eaf3f9 (patch)
treef11f7adcb47eb427a41788b014fb531c9253d2e2
parent493b2ed3f7603a15ff738553384d5a4510ffeb95 (diff)
downloadlinux-2117eaa62aa92776d1465abcfaa5becfd8eaf3f9.tar.xz
crypto: arm/sha1-neon - add support for building in Thumb2 mode
The ARMv7 NEON module is explicitly built in ARM mode, which is not supported by the Thumb2 kernel. So remove the explicit override, and leave it up to the build environment to decide whether the core SHA1 routines are assembled as ARM or as Thumb2 code. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--arch/arm/crypto/sha1-armv7-neon.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/crypto/sha1-armv7-neon.S b/arch/arm/crypto/sha1-armv7-neon.S
index dcd01f3f0bb0..2468fade49cf 100644
--- a/arch/arm/crypto/sha1-armv7-neon.S
+++ b/arch/arm/crypto/sha1-armv7-neon.S
@@ -12,7 +12,6 @@
#include <asm/assembler.h>
.syntax unified
-.code 32
.fpu neon
.text