summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/sha512-avx-asm.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/crypto/sha512-avx-asm.S')
-rw-r--r--arch/x86/crypto/sha512-avx-asm.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/sha512-avx-asm.S b/arch/x86/crypto/sha512-avx-asm.S
index 63470fd6ae32..684d58c8bc4f 100644
--- a/arch/x86/crypto/sha512-avx-asm.S
+++ b/arch/x86/crypto/sha512-avx-asm.S
@@ -278,7 +278,7 @@ frame_size = frame_GPRSAVE + GPRSAVE_SIZE
# "blocks" is the message length in SHA512 blocks
########################################################################
SYM_FUNC_START(sha512_transform_avx)
- cmp $0, msglen
+ test msglen, msglen
je nowork
# Allocate Stack Space