Skip to content

Commit b4fa54d

Browse files
committed
powerpc/crc: rename crc32-vpmsum_core.S to crc-vpmsum-template.S
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" <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Eric Biggers <[email protected]>
1 parent 436490e commit b4fa54d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

arch/powerpc/lib/crc32c-vpmsum_asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,4 +839,4 @@
839839

840840
#define CRC_FUNCTION_NAME __crc32c_vpmsum
841841
#define REFLECT
842-
#include "crc32-vpmsum_core.S"
842+
#include "crc-vpmsum-template.S"

arch/powerpc/lib/crct10dif-vpmsum_asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,4 +842,4 @@
842842
.octa 0x0000000000000000000000018bb70000
843843

844844
#define CRC_FUNCTION_NAME __crct10dif_vpmsum
845-
#include "crc32-vpmsum_core.S"
845+
#include "crc-vpmsum-template.S"

0 commit comments

Comments
 (0)