Skip to content

Commit

Permalink
crypto: x86/crc32c - assembler clean-up: 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
jkivilin authored and herbertx committed Jan 19, 2013
1 parent 1985fec commit 698a5ab
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions arch/x86/crypto/crc32c-pcl-intel-asm_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
* SOFTWARE.
*/

#include <linux/linkage.h>

## ISCSI CRC 32 Implementation with crc32 and pclmulqdq Instruction

.macro LABEL prefix n
Expand All @@ -68,8 +70,7 @@

# unsigned int crc_pcl(u8 *buffer, int len, unsigned int crc_init);

.global crc_pcl
crc_pcl:
ENTRY(crc_pcl)
#define bufp %rdi
#define bufp_dw %edi
#define bufp_w %di
Expand Down Expand Up @@ -323,6 +324,9 @@ JMPTBL_ENTRY %i
.noaltmacro
i=i+1
.endr

ENDPROC(crc_pcl)

################################################################
## PCLMULQDQ tables
## Table is 128 entries x 2 quad words each
Expand Down

0 comments on commit 698a5ab

Please sign in to comment.