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/sha256-avx-asm.S |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/kernel/arch/x86/crypto/sha256-avx-asm.S b/kernel/arch/x86/crypto/sha256-avx-asm.S
index b6e037e..3baa1ec 100644
--- a/kernel/arch/x86/crypto/sha256-avx-asm.S
+++ b/kernel/arch/x86/crypto/sha256-avx-asm.S
@@ -47,7 +47,6 @@
 # This code schedules 1 block at a time, with 4 lanes per block
 ########################################################################
 
-#ifdef CONFIG_AS_AVX
 #include <linux/linkage.h>
 
 ## assume buffers not aligned
@@ -347,7 +346,7 @@
 ## arg 3 : Num blocks
 ########################################################################
 .text
-ENTRY(sha256_transform_avx)
+SYM_FUNC_START(sha256_transform_avx)
 .align 32
 	pushq   %rbx
 	pushq   %r12
@@ -459,8 +458,8 @@
 	popq    %r13
 	popq	%r12
 	popq    %rbx
-	ret
-ENDPROC(sha256_transform_avx)
+	RET
+SYM_FUNC_END(sha256_transform_avx)
 
 .section	.rodata.cst256.K256, "aM", @progbits, 256
 .align 64
@@ -498,5 +497,3 @@
 # shuffle xDxC -> DC00
 _SHUF_DC00:
 	.octa 0x0b0a090803020100FFFFFFFFFFFFFFFF
-
-#endif

--
Gitblit v1.6.2