diff options
author | 2025-04-23 17:20:35 -0700 | |
---|---|---|
committer | 2025-04-28 09:07:19 -0700 | |
commit | b4fa54d654b3531261d1fde3cb73ceae7a98806f (patch) | |
tree | 6f9a8b5db023e1b3331111592832e4b50ffad4fc | |
parent | powerpc/crc: drop "glue" from filenames (diff) | |
download | wireguard-linux-b4fa54d654b3531261d1fde3cb73ceae7a98806f.tar.xz wireguard-linux-b4fa54d654b3531261d1fde3cb73ceae7a98806f.zip |
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" <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>
-rw-r--r-- | arch/powerpc/lib/crc-vpmsum-template.S (renamed from arch/powerpc/lib/crc32-vpmsum_core.S) | 0 | ||||
-rw-r--r-- | arch/powerpc/lib/crc32c-vpmsum_asm.S | 2 | ||||
-rw-r--r-- | arch/powerpc/lib/crct10dif-vpmsum_asm.S | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/lib/crc32-vpmsum_core.S b/arch/powerpc/lib/crc-vpmsum-template.S index b0f87f595b26..b0f87f595b26 100644 --- a/arch/powerpc/lib/crc32-vpmsum_core.S +++ b/arch/powerpc/lib/crc-vpmsum-template.S diff --git a/arch/powerpc/lib/crc32c-vpmsum_asm.S b/arch/powerpc/lib/crc32c-vpmsum_asm.S index bf442004ea1f..1b35c55cce0a 100644 --- a/arch/powerpc/lib/crc32c-vpmsum_asm.S +++ b/arch/powerpc/lib/crc32c-vpmsum_asm.S @@ -839,4 +839,4 @@ #define CRC_FUNCTION_NAME __crc32c_vpmsum #define REFLECT -#include "crc32-vpmsum_core.S" +#include "crc-vpmsum-template.S" diff --git a/arch/powerpc/lib/crct10dif-vpmsum_asm.S b/arch/powerpc/lib/crct10dif-vpmsum_asm.S index f0b93a0fe168..47a6266d89a8 100644 --- a/arch/powerpc/lib/crct10dif-vpmsum_asm.S +++ b/arch/powerpc/lib/crct10dif-vpmsum_asm.S @@ -842,4 +842,4 @@ .octa 0x0000000000000000000000018bb70000 #define CRC_FUNCTION_NAME __crct10dif_vpmsum -#include "crc32-vpmsum_core.S" +#include "crc-vpmsum-template.S" |