Skip to content

Commit 4b788ac

Browse files
hcahcaVasily Gorbik
authored andcommitted
s390/crc32be: use SYM* macros instead of ENTRY(), etc.
Consistently use the SYM* family of macros instead of the deprecated ENTRY(), ENDPROC(), etc. family of macros. Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1 parent 3e5e510 commit 4b788ac

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

arch/s390/crypto/crc32be-vx.S

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#define CONST_RU_POLY %v13
2525
#define CONST_CRC_POLY %v14
2626

27-
.data
28-
.align 8
27+
.data
28+
.balign 8
2929

3030
/*
3131
* The CRC-32 constant block contains reduction constants to fold and
@@ -58,19 +58,20 @@
5858
* P'(x) = 0xEDB88320
5959
*/
6060

61-
.Lconstants_CRC_32_BE:
61+
SYM_DATA_START_LOCAL(constants_CRC_32_BE)
6262
.quad 0x08833794c, 0x0e6228b11 # R1, R2
6363
.quad 0x0c5b9cd4c, 0x0e8a45605 # R3, R4
6464
.quad 0x0f200aa66, 1 << 32 # R5, x32
6565
.quad 0x0490d678d, 1 # R6, 1
6666
.quad 0x104d101df, 0 # u
6767
.quad 0x104C11DB7, 0 # P(x)
68+
SYM_DATA_END(constants_CRC_32_BE)
6869

69-
.previous
70+
.previous
7071

7172
GEN_BR_THUNK %r14
7273

73-
.text
74+
.text
7475
/*
7576
* The CRC-32 function(s) use these calling conventions:
7677
*
@@ -90,9 +91,9 @@
9091
*
9192
* V9..V14: CRC-32 constants.
9293
*/
93-
ENTRY(crc32_be_vgfm_16)
94+
SYM_FUNC_START(crc32_be_vgfm_16)
9495
/* Load CRC-32 constants */
95-
larl %r5,.Lconstants_CRC_32_BE
96+
larl %r5,constants_CRC_32_BE
9697
VLM CONST_R1R2,CONST_CRC_POLY,0,%r5
9798

9899
/* Load the initial CRC value into the leftmost word of V0. */
@@ -207,6 +208,6 @@ ENTRY(crc32_be_vgfm_16)
207208
.Ldone:
208209
VLGVF %r2,%v2,3
209210
BR_EX %r14
210-
ENDPROC(crc32_be_vgfm_16)
211+
SYM_FUNC_END(crc32_be_vgfm_16)
211212

212213
.previous

0 commit comments

Comments
 (0)