diff --git a/xen/common/Makefile b/xen/common/Makefile index dac8b711cd..6018e25614 100644 --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -16,7 +16,6 @@ obj-y += event_2l.o obj-y += event_channel.o obj-$(CONFIG_EVTCHN_FIFO) += event_fifo.o obj-$(CONFIG_GRANT_TABLE) += grant_table.o -obj-y += guestcopy.o obj-y += gzip/ obj-$(CONFIG_HYPFS) += hypfs.o obj-$(CONFIG_IOREQ_SERVER) += ioreq.o diff --git a/xen/lib/Makefile b/xen/lib/Makefile index dcef1610b2..933f6d96fb 100644 --- a/xen/lib/Makefile +++ b/xen/lib/Makefile @@ -6,6 +6,7 @@ lib-y += find-next-bit.o lib-y += generic-ffsl.o lib-y += generic-flsl.o lib-y += generic-hweightl.o +lib-y += guest-strcpy.o lib-y += list-sort.o lib-y += memchr.o lib-y += memchr_inv.o diff --git a/xen/common/guestcopy.c b/xen/lib/guest-strcpy.c similarity index 100% rename from xen/common/guestcopy.c rename to xen/lib/guest-strcpy.c