Hi, > On 23 Nov 2020, at 15:24, Jan Beulich <jbeul...@suse.com> wrote: > > Build this code into an archive, partly paralleling bsearch(). > > Signed-off-by: Jan Beulich <jbeul...@suse.com> > Acked-by: Julien Grall <jgr...@amazon.com> Reviewed-by: Bertrand Marquis <bertrand.marq...@arm.com>
Cheers Bertrand > --- > xen/common/Makefile | 1 - > xen/lib/Makefile | 1 + > xen/{common => lib}/sort.c | 0 > 3 files changed, 1 insertion(+), 1 deletion(-) > rename xen/{common => lib}/sort.c (100%) > > diff --git a/xen/common/Makefile b/xen/common/Makefile > index e8ce23acea67..7a4e652b575e 100644 > --- a/xen/common/Makefile > +++ b/xen/common/Makefile > @@ -36,7 +36,6 @@ obj-y += rcupdate.o > obj-y += rwlock.o > obj-y += shutdown.o > obj-y += softirq.o > -obj-y += sort.o > obj-y += smp.o > obj-y += spinlock.o > obj-y += stop_machine.o > diff --git a/xen/lib/Makefile b/xen/lib/Makefile > index f12dab7a737a..42cf7a1164ef 100644 > --- a/xen/lib/Makefile > +++ b/xen/lib/Makefile > @@ -6,3 +6,4 @@ lib-y += ctype.o > lib-y += list-sort.o > lib-y += parse-size.o > lib-y += rbtree.o > +lib-y += sort.o > diff --git a/xen/common/sort.c b/xen/lib/sort.c > similarity index 100% > rename from xen/common/sort.c > rename to xen/lib/sort.c > >