[PATCH] crypto: fix FTBFS with ARM SHA1-asm and THUMB2_KERNEL

Nicolas Pitre nico at fluxnic.net
Mon Jan 21 17:46:48 EST 2013


On Mon, 21 Jan 2013, Matt Sealey wrote:

> 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 at genesi-usa.com>

A .arm directive at the top of the assembly code would be a better 
"fix", as that wouldn't reduce functionality.

Yet, I'd invite you to have a look at commit 638591cd7b in linux-next.


Nicolas



More information about the linux-arm-kernel mailing list