From: Mathias Krause Date: Mon, 24 Mar 2014 16:10:39 +0000 (+0100) Subject: crypto: x86/sha1 - reduce size of the AVX2 asm implementation X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=37b28947170ebe55cb4f689ded5857d943c6578e;p=linux-beck.git crypto: x86/sha1 - reduce size of the AVX2 asm implementation There is really no need to page align sha1_transform_avx2. The default alignment is just fine. This is not the hot code but only the entry point, after all. Cc: Chandramouli Narayanan Signed-off-by: Mathias Krause Reviewed-by: H. Peter Anvin Reviewed-by: Marek Vasut Signed-off-by: Herbert Xu --- diff --git a/arch/x86/crypto/sha1_avx2_x86_64_asm.S b/arch/x86/crypto/sha1_avx2_x86_64_asm.S index bacac22b20c2..1cd792db15ef 100644 --- a/arch/x86/crypto/sha1_avx2_x86_64_asm.S +++ b/arch/x86/crypto/sha1_avx2_x86_64_asm.S @@ -623,7 +623,6 @@ _loop3: */ .macro SHA1_VECTOR_ASM name ENTRY(\name) - .align 4096 push %rbx push %rbp