crypto: arm/sha1-neon - add support for building in Thumb2 mode
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 1 Sep 2016 13:25:41 +0000 (14:25 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 7 Sep 2016 13:08:29 +0000 (21:08 +0800)
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>
arch/arm/crypto/sha1-armv7-neon.S

index dcd01f3..2468fad 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/assembler.h>
 
 .syntax unified
-.code   32
 .fpu neon
 
 .text