]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
crypto: crc32c-pclmul - use .rodata instead of .rotata
authorNicolas Iooss <nicolas.iooss_linux@m4x.org>
Sun, 20 Sep 2015 14:42:36 +0000 (16:42 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Sep 2015 15:05:57 +0000 (23:05 +0800)
Module crc32c-intel uses a special read-only data section named .rotata.
This section is defined for K_table, and its name seems to be a spelling
mistake for .rodata.

Fixes: 473946e674eb ("crypto: crc32c-pclmul - Shrink K_table to 32-bit words")
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/crc32c-pcl-intel-asm_64.S

index 225be06edc80982f9509e25af09e1ac0a0232237..4fe27e07419486055ca7bc5f9108dbe05639df5c 100644 (file)
@@ -330,7 +330,7 @@ ENDPROC(crc_pcl)
        ## PCLMULQDQ tables
        ## Table is 128 entries x 2 words (8 bytes) each
        ################################################################
-.section       .rotata, "a", %progbits
+.section       .rodata, "a", %progbits
 .align 8
 K_table:
        .long 0x493c7d27, 0x00000001