aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/sha1_avx2_x86_64_asm.S
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2014-03-24 17:10:39 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-03-25 20:25:43 +0800
commit37b28947170ebe55cb4f689ded5857d943c6578e (patch)
tree63574514fa56bb94400fbc0b9d3f32d4d94535bb /arch/x86/crypto/sha1_avx2_x86_64_asm.S
parentcrypto: x86/sha1 - fix stack alignment of AVX2 variant (diff)
downloadlinux-dev-37b28947170ebe55cb4f689ded5857d943c6578e.tar.xz
linux-dev-37b28947170ebe55cb4f689ded5857d943c6578e.zip
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 <mouli@linux.intel.com> Signed-off-by: Mathias Krause <minipli@googlemail.com> Reviewed-by: H. Peter Anvin <hpa@linux.intel.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto/sha1_avx2_x86_64_asm.S')
-rw-r--r--arch/x86/crypto/sha1_avx2_x86_64_asm.S1
1 files changed, 0 insertions, 1 deletions
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