From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH] tools/libxl new bitmap functions Date: Tue, 7 Apr 2015 16:51:54 +0100 Message-ID: <5523FD1A.40800@citrix.com> References: <1427996296-27980-1-git-send-email-lindaj@jma3.com> <20150402193432.GJ3131@x230.dumpdata.com> <5523FB87.4070803@jma3.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YfVnc-0007Z4-PK for xen-devel@lists.xenproject.org; Tue, 07 Apr 2015 15:52:24 +0000 In-Reply-To: <5523FB87.4070803@jma3.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Linda , Konrad Rzeszutek Wilk Cc: julien.grall@citrix.com, xen-devel@lists.xenproject.org, lars.kurth@xen.org, wei.liu2@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi Linda, On 07/04/15 16:45, Linda wrote: >>> + size = (bitmap1->size > bitmap2->size) ? bitmap1->size : >>> bitmap2->size; >> There might be an 'max' macro somwhere in the code that you could use >> for this? > Any guesses on where I might find the max macro. When I grep max, all I > find are definitions of constants that are the > max of something. There is a macro max_t in libxl_internal.h that can be used to get the maximum of 2 numbers. Regards, -- Julien Grall