From 08f87f769b595151be1afeff53e144f543faa614 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 06 Dec 2023 09:51:13 +0000
Subject: [PATCH] add dts config

---
 kernel/arch/x86/crypto/sha512-avx-asm.S |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/kernel/arch/x86/crypto/sha512-avx-asm.S b/kernel/arch/x86/crypto/sha512-avx-asm.S
index 8f6fe09..34fc71c 100644
--- a/kernel/arch/x86/crypto/sha512-avx-asm.S
+++ b/kernel/arch/x86/crypto/sha512-avx-asm.S
@@ -47,7 +47,6 @@
 #
 ########################################################################
 
-#ifdef CONFIG_AS_AVX
 #include <linux/linkage.h>
 
 .text
@@ -278,7 +277,7 @@
 # of SHA512 message blocks.
 # "blocks" is the message length in SHA512 blocks
 ########################################################################
-ENTRY(sha512_transform_avx)
+SYM_FUNC_START(sha512_transform_avx)
 	cmp $0, msglen
 	je nowork
 
@@ -365,8 +364,8 @@
 	mov	frame_RSPSAVE(%rsp), %rsp
 
 nowork:
-	ret
-ENDPROC(sha512_transform_avx)
+	RET
+SYM_FUNC_END(sha512_transform_avx)
 
 ########################################################################
 ### Binary Data
@@ -424,4 +423,3 @@
 	.quad 0x3c9ebe0a15c9bebc,0x431d67c49c100d4c
 	.quad 0x4cc5d4becb3e42b6,0x597f299cfc657e2a
 	.quad 0x5fcb6fab3ad6faec,0x6c44198c4a475817
-#endif

--
Gitblit v1.6.2