Skip to content

Commit 313a06e

Browse files
jlintonarmctmarinas
authored andcommitted
lib/raid6: Fix arm64 test build
The lib/raid6/test fails to build the neon objects on arm64 because the correct machine type is 'aarch64'. Once this is correctly enabled, the neon recovery objects need to be added to the build. Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 4920b1f commit 313a06e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/raid6/test/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ifeq ($(ARCH),arm)
2727
CFLAGS += -I../../../arch/arm/include -mfpu=neon
2828
HAS_NEON = yes
2929
endif
30-
ifeq ($(ARCH),arm64)
30+
ifeq ($(ARCH),aarch64)
3131
CFLAGS += -I../../../arch/arm64/include
3232
HAS_NEON = yes
3333
endif
@@ -41,7 +41,7 @@ ifeq ($(IS_X86),yes)
4141
gcc -c -x assembler - >&/dev/null && \
4242
rm ./-.o && echo -DCONFIG_AS_AVX512=1)
4343
else 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
4545
CFLAGS += -DCONFIG_KERNEL_MODE_NEON=1
4646
else
4747
HAS_ALTIVEC := $(shell printf '\#include <altivec.h>\nvector int a;\n' |\

0 commit comments

Comments
 (0)