summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2013-01-19 13:39:41 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2013-01-20 10:16:51 +1100
commitac9d55dd42858b127bedb84f4e59789958263d37 (patch)
tree147b4b3972b4191090349d3d05365e375fb48584 /arch
parent2dcfd44dee3fd3a63e3e3d3f5cbfd2436d1f98a6 (diff)
downloadlinux-ac9d55dd42858b127bedb84f4e59789958263d37.tar.gz
linux-ac9d55dd42858b127bedb84f4e59789958263d37.tar.bz2
linux-ac9d55dd42858b127bedb84f4e59789958263d37.zip
crypto: x86/sha1 - assembler clean-ups: use ENTRY/ENDPROC
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')
-rw-r--r--arch/x86/crypto/sha1_ssse3_asm.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/crypto/sha1_ssse3_asm.S b/arch/x86/crypto/sha1_ssse3_asm.S
index 49d6987a73d9..a4109506a5e8 100644
--- a/arch/x86/crypto/sha1_ssse3_asm.S
+++ b/arch/x86/crypto/sha1_ssse3_asm.S
@@ -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
@@ -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
@@ -106,7 +106,7 @@
pop %rbx
ret
- .size \name, .-\name
+ ENDPROC(\name)
.endm
/*