Skip to content

Commit

Permalink
crypto: x86/sha1 - assembler clean-ups: use ENTRY/ENDPROC
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jussi Kivilinna authored and Herbert Xu committed Jan 19, 2013
1 parent 2dcfd44 commit ac9d55d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arch/x86/crypto/sha1_ssse3_asm.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
* (at your option) any later version.
*/

#include <linux/linkage.h>

#define CTX %rdi // arg1
#define BUF %rsi // arg2
#define CNT %rdx // arg3
Expand Down Expand Up @@ -69,10 +71,8 @@
* param: function's name
*/
.macro SHA1_VECTOR_ASM name
.global \name
.type \name, @function
.align 32
\name:
ENTRY(\name)

push %rbx
push %rbp
push %r12
Expand Down Expand Up @@ -106,7 +106,7 @@
pop %rbx
ret

.size \name, .-\name
ENDPROC(\name)
.endm

/*
Expand Down

0 comments on commit ac9d55d

Please sign in to comment.