hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/x86/crypto/sha512-avx2-asm.S
....@@ -49,7 +49,6 @@
4949 # This code schedules 1 blocks at a time, with 4 lanes per block
5050 ########################################################################
5151
52
-#ifdef CONFIG_AS_AVX2
5352 #include <linux/linkage.h>
5453
5554 .text
....@@ -570,7 +569,7 @@
570569 # of SHA512 message blocks.
571570 # "blocks" is the message length in SHA512 blocks
572571 ########################################################################
573
-ENTRY(sha512_transform_rorx)
572
+SYM_FUNC_START(sha512_transform_rorx)
574573 # Allocate Stack Space
575574 mov %rsp, %rax
576575 sub $frame_size, %rsp
....@@ -682,8 +681,8 @@
682681
683682 # Restore Stack Pointer
684683 mov frame_RSPSAVE(%rsp), %rsp
685
- ret
686
-ENDPROC(sha512_transform_rorx)
684
+ RET
685
+SYM_FUNC_END(sha512_transform_rorx)
687686
688687 ########################################################################
689688 ### Binary Data
....@@ -749,5 +748,3 @@
749748 MASK_YMM_LO:
750749 .octa 0x00000000000000000000000000000000
751750 .octa 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
752
-
753
-#endif