summaryrefslogtreecommitdiff
path: root/arch/arc/lib/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-03-28 10:56:32 +0100
committerIngo Molnar <mingo@kernel.org>2019-03-28 10:58:28 +0100
commitcfa637cb20e96fe8cf44b867a7d7c34649cbf8eb (patch)
tree52591d7b53600d5d39369525a356ccb81e22fcd9 /arch/arc/lib/Makefile
parentdb779ef67ffeadbb44e9e818eb64dbe528e2f48f (diff)
parent8c2ffd9174779014c3fe1f96d9dc3641d9175f00 (diff)
Merge tag 'v5.1-rc2' into core/urgent, to resolve a conflict
Conflicts: include/linux/kcore.h Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/arc/lib/Makefile')
-rw-r--r--arch/arc/lib/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arc/lib/Makefile b/arch/arc/lib/Makefile
index b1656d156097..f7537b466b23 100644
--- a/arch/arc/lib/Makefile
+++ b/arch/arc/lib/Makefile
@@ -8,4 +8,10 @@
lib-y := strchr-700.o strcpy-700.o strlen.o memcmp.o
lib-$(CONFIG_ISA_ARCOMPACT) += memcpy-700.o memset.o strcmp.o
-lib-$(CONFIG_ISA_ARCV2) += memcpy-archs.o memset-archs.o strcmp-archs.o
+lib-$(CONFIG_ISA_ARCV2) += memset-archs.o strcmp-archs.o
+
+ifdef CONFIG_ARC_USE_UNALIGNED_MEM_ACCESS
+lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs-unaligned.o
+else
+lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs.o
+endif