hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/x86/crypto/sha512-avx-asm.S
....@@ -47,7 +47,6 @@
4747 #
4848 ########################################################################
4949
50
-#ifdef CONFIG_AS_AVX
5150 #include <linux/linkage.h>
5251
5352 .text
....@@ -278,7 +277,7 @@
278277 # of SHA512 message blocks.
279278 # "blocks" is the message length in SHA512 blocks
280279 ########################################################################
281
-ENTRY(sha512_transform_avx)
280
+SYM_FUNC_START(sha512_transform_avx)
282281 cmp $0, msglen
283282 je nowork
284283
....@@ -365,8 +364,8 @@
365364 mov frame_RSPSAVE(%rsp), %rsp
366365
367366 nowork:
368
- ret
369
-ENDPROC(sha512_transform_avx)
367
+ RET
368
+SYM_FUNC_END(sha512_transform_avx)
370369
371370 ########################################################################
372371 ### Binary Data
....@@ -424,4 +423,3 @@
424423 .quad 0x3c9ebe0a15c9bebc,0x431d67c49c100d4c
425424 .quad 0x4cc5d4becb3e42b6,0x597f299cfc657e2a
426425 .quad 0x5fcb6fab3ad6faec,0x6c44198c4a475817
427
-#endif