If not these, what else are library functions.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
v3: New.
---
xen/arch/x86/Makefile | 2 --
xen/arch/x86/lib/Makefile | 2 ++
xen/arch/x86/{ => lib}/memcpy.S | 0
xen/arch/x86/{ => lib}/memset.S | 0
4 files changed, 2 insertions(+), 2 deletions(-)
rename xen/arch/x86/{ => lib}/memcpy.S (100%)
rename xen/arch/x86/{ => lib}/memset.S (100%)
diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile
index dfb258d7ac1c..43117c88e59d 100644
--- a/xen/arch/x86/Makefile
+++ b/xen/arch/x86/Makefile
@@ -48,8 +48,6 @@ obj-$(CONFIG_RETURN_THUNK) += indirect-thunk.o
obj-$(CONFIG_PV) += ioport_emulate.o
obj-y += irq.o
obj-$(CONFIG_KEXEC) += machine_kexec.o
-obj-y += memcpy.o
-obj-y += memset.o
obj-y += mm.o x86_64/mm.o
obj-$(CONFIG_VM_EVENT) += monitor.o
obj-y += mpparse.o
diff --git a/xen/arch/x86/lib/Makefile b/xen/arch/x86/lib/Makefile
index 8fe2dfd88553..a5169f5e19c1 100644
--- a/xen/arch/x86/lib/Makefile
+++ b/xen/arch/x86/lib/Makefile
@@ -1,3 +1,5 @@
lib-y += copy-guest.o
lib-y += copy-unsafe.o
lib-y += generic-hweightl.o
+lib-y += memcpy.o
+lib-y += memset.o
diff --git a/xen/arch/x86/memcpy.S b/xen/arch/x86/lib/memcpy.S
similarity index 100%
rename from xen/arch/x86/memcpy.S
rename to xen/arch/x86/lib/memcpy.S
diff --git a/xen/arch/x86/memset.S b/xen/arch/x86/lib/memset.S
similarity index 100%
rename from xen/arch/x86/memset.S
rename to xen/arch/x86/lib/memset.S