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

Re: [RFC] Re: [Xen-devel] [PATCH] fix xenctl_cpumap translation to handle bitops accessed like arrays


  • To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Thu, 21 Dec 2006 10:48:45 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 21 Dec 2006 02:48:41 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acck7ZZA1IWO25DgEduxsQAX8io7RQ==
  • Thread-topic: [RFC] Re: [Xen-devel] [PATCH] fix xenctl_cpumap translation to handle bitops accessed like arrays

On 20/12/06 19:05, "Jimi Xenidis" <jimix@xxxxxxxxxxxxxx> wrote:

> Is this what you were looking for? let me know and I'll complete it.
> 
> -JX

How about functions long_to_byte_bitmap(bitmap, nr_bits) and
byte_to_long_bitmap(bitmap, nr_bits) defined in asm/bitops.h? These would be
no-op for ia64 and x86, and could perform an in-place endian swap on each
longword on powerpc.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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