hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/x86/crypto/sha256-avx-asm.S
....@@ -47,7 +47,6 @@
4747 # This code schedules 1 block at a time, with 4 lanes per block
4848 ########################################################################
4949
50
-#ifdef CONFIG_AS_AVX
5150 #include <linux/linkage.h>
5251
5352 ## assume buffers not aligned
....@@ -347,7 +346,7 @@
347346 ## arg 3 : Num blocks
348347 ########################################################################
349348 .text
350
-ENTRY(sha256_transform_avx)
349
+SYM_FUNC_START(sha256_transform_avx)
351350 .align 32
352351 pushq %rbx
353352 pushq %r12
....@@ -459,8 +458,8 @@
459458 popq %r13
460459 popq %r12
461460 popq %rbx
462
- ret
463
-ENDPROC(sha256_transform_avx)
461
+ RET
462
+SYM_FUNC_END(sha256_transform_avx)
464463
465464 .section .rodata.cst256.K256, "aM", @progbits, 256
466465 .align 64
....@@ -498,5 +497,3 @@
498497 # shuffle xDxC -> DC00
499498 _SHUF_DC00:
500499 .octa 0x0b0a090803020100FFFFFFFFFFFFFFFF
501
-
502
-#endif