mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-27 13:22:47 -04:00
Convert memset(16|32|64)() from assembler to C, which should make it easier to read and change, if required. And it allows the compiler to optimize the code, and use different instructions, except for the used inline assemblies. Reviewed-by: Juergen Christ <jchrist@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
31 lines
1.0 KiB
Makefile
31 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for s390-specific library files..
|
|
#
|
|
|
|
# string.o implements standard library functions like memset/memcpy etc.
|
|
# Use -ffreestanding to ensure that the compiler does not try to "optimize"
|
|
# them into calls to themselves.
|
|
CFLAGS_string.o = -ffreestanding
|
|
|
|
lib-y += delay.o string.o uaccess.o find.o spinlock.o tishift.o
|
|
lib-y += csum-partial.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
|