summaryrefslogtreecommitdiffstats
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
parent6c8c17cc7a8806dde074d7c0bf4d519dd4d028c5 (diff)
downloadop-kernel-dev-37b28947170ebe55cb4f689ded5857d943c6578e.zip
op-kernel-dev-37b28947170ebe55cb4f689ded5857d943c6578e.tar.gz
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>
-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 bacac22..1cd792d 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
OpenPOWER on IntegriCloud