]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
powerpc/crc: rename crc32-vpmsum_core.S to crc-vpmsum-template.S
authorEric Biggers <ebiggers@google.com>
Thu, 24 Apr 2025 00:20:35 +0000 (17:20 -0700)
committerEric Biggers <ebiggers@google.com>
Mon, 28 Apr 2025 16:07:19 +0000 (09:07 -0700)
Rename crc32-vpmsum_core.S to crc-vpmsum-template.S to properly convey
that (a) it actually generates code for both 32-bit and 16-bit CRCs, not
just 32-bit CRCs; and (b) it has "template" semantics, like x86's
crc-pclmul-template.S, in the sense that it's included by other files.

Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250424002038.179114-5-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
arch/powerpc/lib/crc-vpmsum-template.S [moved from arch/powerpc/lib/crc32-vpmsum_core.S with 100% similarity]
arch/powerpc/lib/crc32c-vpmsum_asm.S
arch/powerpc/lib/crct10dif-vpmsum_asm.S

index bf442004ea1f22c625f050d9fe1844fca4f279d0..1b35c55cce0a610e444bfa7839134d897f754a45 100644 (file)
 
 #define CRC_FUNCTION_NAME __crc32c_vpmsum
 #define REFLECT
-#include "crc32-vpmsum_core.S"
+#include "crc-vpmsum-template.S"
index f0b93a0fe168aa65ab459b01ded6e3e5a600cd1e..47a6266d89a8a7e9cf8e3daa54015bdb59dcb6b2 100644 (file)
        .octa 0x0000000000000000000000018bb70000
 
 #define CRC_FUNCTION_NAME __crct10dif_vpmsum
-#include "crc32-vpmsum_core.S"
+#include "crc-vpmsum-template.S"