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

diff --git a/kernel/arch/x86/crypto/sha256-avx2-asm.S b/kernel/arch/x86/crypto/sha256-avx2-asm.S
index 2e6ebc9..3439aaf 100644
--- a/kernel/arch/x86/crypto/sha256-avx2-asm.S
+++ b/kernel/arch/x86/crypto/sha256-avx2-asm.S
@@ -48,7 +48,6 @@
 # This code schedules 2 blocks at a time, with 4 lanes per block
 ########################################################################
 
-#ifdef CONFIG_AS_AVX2
 #include <linux/linkage.h>
 
 ## assume buffers not aligned
@@ -526,7 +525,7 @@
 ## arg 3 : Num blocks
 ########################################################################
 .text
-ENTRY(sha256_transform_rorx)
+SYM_FUNC_START(sha256_transform_rorx)
 .align 32
 	pushq	%rbx
 	pushq	%r12
@@ -712,8 +711,8 @@
 	popq	%r13
 	popq	%r12
 	popq	%rbx
-	ret
-ENDPROC(sha256_transform_rorx)
+	RET
+SYM_FUNC_END(sha256_transform_rorx)
 
 .section	.rodata.cst512.K256, "aM", @progbits, 512
 .align 64
@@ -767,5 +766,3 @@
 .align 32
 _SHUF_DC00:
 	.octa 0x0b0a090803020100FFFFFFFFFFFFFFFF,0x0b0a090803020100FFFFFFFFFFFFFFFF
-
-#endif

--
Gitblit v1.6.2