Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <nicolas.iooss_linux@m4x.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Nicolas Iooss and committed by
Herbert Xu
97bce7e0 d23afa1a

+1 -1
+1 -1
arch/x86/crypto/crc32c-pcl-intel-asm_64.S
··· 330 330 ## PCLMULQDQ tables 331 331 ## Table is 128 entries x 2 words (8 bytes) each 332 332 ################################################################ 333 - .section .rotata, "a", %progbits 333 + .section .rodata, "a", %progbits 334 334 .align 8 335 335 K_table: 336 336 .long 0x493c7d27, 0x00000001