mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 13:34:30 +00:00
008071917d
Move the s390 CRC32 assembly code into the lib directory and wire it up to the library interface. This allows it to be used without going through the crypto API. It remains usable via the crypto API too via the shash algorithms that use the library interface. Thus all the arch-specific "shash" code becomes unnecessary and is removed. Note: to see the diff from arch/s390/crypto/crc32-vx.c to arch/s390/lib/crc32-glue.c, view this commit with 'git show -M10'. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20241202010844.144356-10-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
30 lines
953 B
Makefile
30 lines
953 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for s390-specific library files..
|
|
#
|
|
|
|
lib-y += delay.o string.o uaccess.o find.o spinlock.o tishift.o
|
|
lib-y += csum-partial.o
|
|
obj-y += mem.o xor.o
|
|
lib-$(CONFIG_KPROBES) += probes.o
|
|
lib-$(CONFIG_UPROBES) += probes.o
|
|
obj-$(CONFIG_S390_KPROBES_SANITY_TEST) += test_kprobes_s390.o
|
|
test_kprobes_s390-objs += test_kprobes_asm.o test_kprobes.o
|
|
|
|
# Instrumenting memory accesses to __user data (in different address space)
|
|
# produce false positives
|
|
KASAN_SANITIZE_uaccess.o := n
|
|
|
|
obj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o
|
|
CFLAGS_test_unwind.o += -fno-optimize-sibling-calls
|
|
|
|
obj-$(CONFIG_S390_MODULES_SANITY_TEST) += test_modules.o
|
|
obj-$(CONFIG_S390_MODULES_SANITY_TEST_HELPERS) += test_modules_helpers.o
|
|
|
|
lib-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
|
|
|
|
obj-$(CONFIG_EXPOLINE_EXTERN) += expoline.o
|
|
|
|
obj-$(CONFIG_CRC32_ARCH) += crc32-s390.o
|
|
crc32-s390-y := crc32-glue.o crc32le-vx.o crc32be-vx.o
|