From: Ard Biesheuvel Date: Thu, 1 Sep 2016 13:25:41 +0000 (+0100) Subject: crypto: arm/sha1-neon - add support for building in Thumb2 mode X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2117eaa62aa92776d1465abcfaa5becfd8eaf3f9;p=linux-beck.git 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 Signed-off-by: Herbert Xu --- 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 .syntax unified -.code 32 .fpu neon .text