[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 8/8] lib: move sort code


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Wed, 9 Dec 2020 14:27:48 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OnYIawYMtjBZScVMAekXwJUvV5Yzu1NbGzcbtf+PC+E=; b=j7ZMls/VIrGonKXTlTqjk9ksg/BBEil9VrzKtkXI/JkNWxaO+nZnXEyGPQ6lBmTkuhzfy2DSKiUosFfhTii05CRgijzATfbAl2YI44LR5a8Y4VMysgT4VUWf209L/gyKU0fLQ9mhjhhXiJ9JiG06LrXs3vXicd78zLbV5Th9t9/ck7sJ5Su7608mwqcsz6Ic9yJO1tDoMjatD3ZeYd+ukCo1raNqD8c9lOPEmN6fczj0+PaZpd7DIZ0QDZa4tQxW+WEcUxBLH7msD2s2UyxQceJovevTugE83W0A98mYHzSkXaOOCsHnFP+CnLXJYL681Tdfbyg5MLJqGpJzlolIxA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WvM6xIg95wHQ288ZFUS/9mPB1eO0HdTi7uzx2gExR2Kzu/ePfi0Ap6GvGVNHIOEEol2dHoQIjKQh2OFUmk3gJHDYHAdz+hZAgiUIwc+b4z4HKfjt3m8ppjdXiDK1PRS08dWDk3yGWD2Oc3q0hQ00x6LViI7cxZQuBinUr5sQiTizmaqR/V04Jw6BxVz8+Ttb1wqUqabZmpAHPMnbTAvUZ+JMZdfnX50TDU/W7TmjbgpLhO9fImVQENZeo73kJJPjekOBN9v4zE8XjjOnz/w1NvrMvQ+U8qOz2bSWGRZdU1X3Z3YXiuoBpiXpP49Y7NYBZKNNWcOKfnADkA2ALNlmvw==
  • Authentication-results-original: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=arm.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Wed, 09 Dec 2020 14:28:13 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHWwazCYMZRivICQk+HtBzW3vmiCqnu65UA
  • Thread-topic: [PATCH v3 8/8] lib: move sort code

Hi,

> On 23 Nov 2020, at 15:24, Jan Beulich <jbeulich@xxxxxxxx> wrote:
> 
> Build this code into an archive, partly paralleling bsearch().
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>

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
> 
> 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.