From: Nicolas Iooss Date: Sun, 20 Sep 2015 14:42:36 +0000 (+0200) Subject: crypto: crc32c-pclmul - use .rodata instead of .rotata X-Git-Tag: v4.14-rc1~4294^2~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97bce7e0b58dfc7d159ded329f57961868fb060b;p=platform%2Fkernel%2Flinux-rpi.git crypto: crc32c-pclmul - use .rodata instead of .rotata 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 Signed-off-by: Herbert Xu --- diff --git a/arch/x86/crypto/crc32c-pcl-intel-asm_64.S b/arch/x86/crypto/crc32c-pcl-intel-asm_64.S index 225be06..4fe27e0 100644 --- a/arch/x86/crypto/crc32c-pcl-intel-asm_64.S +++ b/arch/x86/crypto/crc32c-pcl-intel-asm_64.S @@ -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