aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/raid6/test/Makefile4
-rw-r--r--lib/ubsan.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/raid6/test/Makefile b/lib/raid6/test/Makefile
index 5d73f5cb4d8a..79777645cac9 100644
--- a/lib/raid6/test/Makefile
+++ b/lib/raid6/test/Makefile
@@ -27,7 +27,7 @@ ifeq ($(ARCH),arm)
27 CFLAGS += -I../../../arch/arm/include -mfpu=neon 27 CFLAGS += -I../../../arch/arm/include -mfpu=neon
28 HAS_NEON = yes 28 HAS_NEON = yes
29endif 29endif
30ifeq ($(ARCH),arm64) 30ifeq ($(ARCH),aarch64)
31 CFLAGS += -I../../../arch/arm64/include 31 CFLAGS += -I../../../arch/arm64/include
32 HAS_NEON = yes 32 HAS_NEON = yes
33endif 33endif
@@ -41,7 +41,7 @@ ifeq ($(IS_X86),yes)
41 gcc -c -x assembler - >&/dev/null && \ 41 gcc -c -x assembler - >&/dev/null && \
42 rm ./-.o && echo -DCONFIG_AS_AVX512=1) 42 rm ./-.o && echo -DCONFIG_AS_AVX512=1)
43else ifeq ($(HAS_NEON),yes) 43else ifeq ($(HAS_NEON),yes)
44 OBJS += neon.o neon1.o neon2.o neon4.o neon8.o 44 OBJS += neon.o neon1.o neon2.o neon4.o neon8.o recov_neon.o recov_neon_inner.o
45 CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1 45 CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1
46else 46else
47 HAS_ALTIVEC := $(shell printf '\#include <altivec.h>\nvector int a;\n' |\ 47 HAS_ALTIVEC := $(shell printf '\#include <altivec.h>\nvector int a;\n' |\
diff --git a/lib/ubsan.c b/lib/ubsan.c
index 59fee96c29a0..e4162f59a81c 100644
--- a/lib/ubsan.c
+++ b/lib/ubsan.c
@@ -427,8 +427,7 @@ void __ubsan_handle_shift_out_of_bounds(struct shift_out_of_bounds_data *data,
427EXPORT_SYMBOL(__ubsan_handle_shift_out_of_bounds); 427EXPORT_SYMBOL(__ubsan_handle_shift_out_of_bounds);
428 428
429 429
430void __noreturn 430void __ubsan_handle_builtin_unreachable(struct unreachable_data *data)
431__ubsan_handle_builtin_unreachable(struct unreachable_data *data)
432{ 431{
433 unsigned long flags; 432 unsigned long flags;
434 433