Commit 698a5abb authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Herbert Xu

crypto: x86/crc32c - assembler clean-up: use ENTRY/ENDPROC

Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1985fecf
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
* SOFTWARE. * SOFTWARE.
*/ */
#include <linux/linkage.h>
## ISCSI CRC 32 Implementation with crc32 and pclmulqdq Instruction ## ISCSI CRC 32 Implementation with crc32 and pclmulqdq Instruction
.macro LABEL prefix n .macro LABEL prefix n
...@@ -68,8 +70,7 @@ ...@@ -68,8 +70,7 @@
# unsigned int crc_pcl(u8 *buffer, int len, unsigned int crc_init); # unsigned int crc_pcl(u8 *buffer, int len, unsigned int crc_init);
.global crc_pcl ENTRY(crc_pcl)
crc_pcl:
#define bufp %rdi #define bufp %rdi
#define bufp_dw %edi #define bufp_dw %edi
#define bufp_w %di #define bufp_w %di
...@@ -323,6 +324,9 @@ JMPTBL_ENTRY %i ...@@ -323,6 +324,9 @@ JMPTBL_ENTRY %i
.noaltmacro .noaltmacro
i=i+1 i=i+1
.endr .endr
ENDPROC(crc_pcl)
################################################################ ################################################################
## PCLMULQDQ tables ## PCLMULQDQ tables
## Table is 128 entries x 2 quad words each ## Table is 128 entries x 2 quad words each
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment