linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] crypto: fix FTBFS with ARM SHA1-asm and THUMB2_KERNEL
@ 2013-01-21 17:02 Matt Sealey
  2013-01-21 22:46 ` Nicolas Pitre
  0 siblings, 1 reply; 6+ messages in thread
From: Matt Sealey @ 2013-01-21 17:02 UTC (permalink / raw)
  To: linux-arm-kernel

The optimized assembler SHA1 code for ARM does not conform to Thumb2
register usage requirements, so it cannot be built when the kernel is
configured with THUMB2_KERNEL.

Fix the FTBFS for now by preventing misconfigurations of the kernel.

Signed-off-by: Matt Sealey <matt@genesi-usa.com>
---
 crypto/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 4641d95..304d60b 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -472,7 +472,7 @@ config CRYPTO_SHA1_SPARC64
 
 config CRYPTO_SHA1_ARM
 	tristate "SHA1 digest algorithm (ARM-asm)"
-	depends on ARM
+	depends on ARM && !THUMB2_KERNEL
 	select CRYPTO_SHA1
 	select CRYPTO_HASH
 	help
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-22 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-21 17:02 [PATCH] crypto: fix FTBFS with ARM SHA1-asm and THUMB2_KERNEL Matt Sealey
2013-01-21 22:46 ` Nicolas Pitre
2013-01-22  0:54   ` Matt Sealey
2013-01-22  7:46     ` Jussi Kivilinna
2013-01-22  7:50       ` Jussi Kivilinna
2013-01-22 19:43         ` Matt Sealey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).