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-avx2-asm.S | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/kernel/arch/x86/crypto/sha512-avx2-asm.S b/kernel/arch/x86/crypto/sha512-avx2-asm.S index 43d4d64..399fa74 100644 --- a/kernel/arch/x86/crypto/sha512-avx2-asm.S +++ b/kernel/arch/x86/crypto/sha512-avx2-asm.S @@ -49,7 +49,6 @@ # This code schedules 1 blocks at a time, with 4 lanes per block ######################################################################## -#ifdef CONFIG_AS_AVX2 #include <linux/linkage.h> .text @@ -570,7 +569,7 @@ # of SHA512 message blocks. # "blocks" is the message length in SHA512 blocks ######################################################################## -ENTRY(sha512_transform_rorx) +SYM_FUNC_START(sha512_transform_rorx) # Allocate Stack Space mov %rsp, %rax sub $frame_size, %rsp @@ -682,8 +681,8 @@ # Restore Stack Pointer mov frame_RSPSAVE(%rsp), %rsp - ret -ENDPROC(sha512_transform_rorx) + RET +SYM_FUNC_END(sha512_transform_rorx) ######################################################################## ### Binary Data @@ -749,5 +748,3 @@ MASK_YMM_LO: .octa 0x00000000000000000000000000000000 .octa 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF - -#endif -- Gitblit v1.6.2