treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / arm64 / lib / Makefile
blob2fc253466dbf8a657796bd1f8fa71a8508ddc23c
1 # SPDX-License-Identifier: GPL-2.0
2 lib-y := clear_user.o delay.o copy_from_user.o \
3 copy_to_user.o copy_in_user.o copy_page.o \
4 clear_page.o csum.o memchr.o memcpy.o memmove.o \
5 memset.o memcmp.o strcmp.o strncmp.o strlen.o \
6 strnlen.o strchr.o strrchr.o tishift.o
8 ifeq ($(CONFIG_KERNEL_MODE_NEON), y)
9 obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o
10 CFLAGS_REMOVE_xor-neon.o += -mgeneral-regs-only
11 CFLAGS_xor-neon.o += -ffreestanding
12 endif
14 lib-$(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) += uaccess_flushcache.o
16 obj-$(CONFIG_CRC32) += crc32.o
18 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o