diff options
author | Jussi Kivilinna <jussi.kivilinna@mbnet.fi> | 2013-01-19 06:39:16 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-01-19 18:16:49 -0500 |
commit | 1985fecf019dae1db78c90ef9af435e1462e7766 (patch) | |
tree | 595ce8972aa5111d872c4a5bebf6a73a1a9ac3b5 /arch/x86 | |
parent | e17e209ea44ae69bcfdcfacd6974cf48d04e6f71 (diff) |
crypto: cast6-avx: use ENTRY()/ENDPROC() for assembler functions
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 35 |
1 files changed, 11 insertions, 24 deletions
diff --git a/arch/x86/crypto/cast6-avx-x86_64-asm_64.S b/arch/x86/crypto/cast6-avx-x86_64-asm_64.S index 2569d0da841f..f93b6105a0ce 100644 --- a/arch/x86/crypto/cast6-avx-x86_64-asm_64.S +++ b/arch/x86/crypto/cast6-avx-x86_64-asm_64.S | |||
@@ -23,6 +23,7 @@ | |||
23 | * | 23 | * |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include <linux/linkage.h> | ||
26 | #include "glue_helper-asm-avx.S" | 27 | #include "glue_helper-asm-avx.S" |
27 | 28 | ||
28 | .file "cast6-avx-x86_64-asm_64.S" | 29 | .file "cast6-avx-x86_64-asm_64.S" |
@@ -250,8 +251,6 @@ | |||
250 | .text | 251 | .text |
251 | 252 | ||
252 | .align 8 | 253 | .align 8 |
253 | .type __cast6_enc_blk8,@function; | ||
254 | |||
255 | __cast6_enc_blk8: | 254 | __cast6_enc_blk8: |
256 | /* input: | 255 | /* input: |
257 | * %rdi: ctx, CTX | 256 | * %rdi: ctx, CTX |
@@ -295,10 +294,9 @@ __cast6_enc_blk8: | |||
295 | outunpack_blocks(RA2, RB2, RC2, RD2, RTMP, RX, RKRF, RKM); | 294 | outunpack_blocks(RA2, RB2, RC2, RD2, RTMP, RX, RKRF, RKM); |
296 | 295 | ||
297 | ret; | 296 | ret; |
297 | ENDPROC(__cast6_enc_blk8) | ||
298 | 298 | ||
299 | .align 8 | 299 | .align 8 |
300 | .type __cast6_dec_blk8,@function; | ||
301 | |||
302 | __cast6_dec_blk8: | 300 | __cast6_dec_blk8: |
303 | /* input: | 301 | /* input: |
304 | * %rdi: ctx, CTX | 302 | * %rdi: ctx, CTX |
@@ -341,12 +339,9 @@ __cast6_dec_blk8: | |||
341 | outunpack_blocks(RA2, RB2, RC2, RD2, RTMP, RX, RKRF, RKM); | 339 | outunpack_blocks(RA2, RB2, RC2, RD2, RTMP, RX, RKRF, RKM); |
342 | 340 | ||
343 | ret; | 341 | ret; |
342 | ENDPROC(__cast6_dec_blk8) | ||
344 | 343 | ||
345 | .align 8 | 344 | ENTRY(cast6_ecb_enc_8way) |
346 | .global cast6_ecb_enc_8way | ||
347 | .type cast6_ecb_enc_8way,@function; | ||
348 | |||
349 | cast6_ecb_enc_8way: | ||
350 | /* input: | 345 | /* input: |
351 | * %rdi: ctx, CTX | 346 | * %rdi: ctx, CTX |
352 | * %rsi: dst | 347 | * %rsi: dst |
@@ -362,12 +357,9 @@ cast6_ecb_enc_8way: | |||
362 | store_8way(%r11, RA1, RB1, RC1, RD1, RA2, RB2, RC2, RD2); | 357 | store_8way(%r11, RA1, RB1, RC1, RD1, RA2, RB2, RC2, RD2); |
363 | 358 | ||
364 | ret; | 359 | ret; |
360 | ENDPROC(cast6_ecb_enc_8way) | ||
365 | 361 | ||
366 | .align 8 | 362 | ENTRY(cast6_ecb_dec_8way) |
367 | .global cast6_ecb_dec_8way | ||
368 | .type cast6_ecb_dec_8way,@function; | ||
369 | |||
370 | cast6_ecb_dec_8way: | ||
371 | /* input: | 363 | /* input: |
372 | * %rdi: ctx, CTX | 364 | * %rdi: ctx, CTX |
373 | * %rsi: dst | 365 | * %rsi: dst |
@@ -383,12 +375,9 @@ cast6_ecb_dec_8way: | |||
383 | store_8way(%r11, RA1, RB1, RC1, RD1, RA2, RB2, RC2, RD2); | 375 | store_8way(%r11, RA1, RB1, RC1, RD1, RA2, RB2, RC2, RD2); |
384 | 376 | ||
385 | ret; | 377 | ret; |
378 | ENDPROC(cast6_ecb_dec_8way) | ||
386 | 379 | ||
387 | .align 8 | 380 | ENTRY(cast6_cbc_dec_8way) |
388 | .global cast6_cbc_dec_8way | ||
389 | .type cast6_cbc_dec_8way,@function; | ||
390 | |||
391 | cast6_cbc_dec_8way: | ||
392 | /* input: | 381 | /* input: |
393 | * %rdi: ctx, CTX | 382 | * %rdi: ctx, CTX |
394 | * %rsi: dst | 383 | * %rsi: dst |
@@ -409,12 +398,9 @@ cast6_cbc_dec_8way: | |||
409 | popq %r12; | 398 | popq %r12; |
410 | 399 | ||
411 | ret; | 400 | ret; |
401 | ENDPROC(cast6_cbc_dec_8way) | ||
412 | 402 | ||
413 | .align 8 | 403 | ENTRY(cast6_ctr_8way) |
414 | .global cast6_ctr_8way | ||
415 | .type cast6_ctr_8way,@function; | ||
416 | |||
417 | cast6_ctr_8way: | ||
418 | /* input: | 404 | /* input: |
419 | * %rdi: ctx, CTX | 405 | * %rdi: ctx, CTX |
420 | * %rsi: dst | 406 | * %rsi: dst |
@@ -437,3 +423,4 @@ cast6_ctr_8way: | |||
437 | popq %r12; | 423 | popq %r12; |
438 | 424 | ||
439 | ret; | 425 | ret; |
426 | ENDPROC(cast6_ctr_8way) | ||