WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] My turn to rant about types... bitops

To: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] My turn to rant about types... bitops
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 5 Oct 2005 19:17:31 +0100
Cc: rusty@xxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2005年10月05日 18:10:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <139052B3-308D-4B5F-9836-16F316A88398@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <139052B3-308D-4B5F-9836-16F316A88398@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5 Oct 2005, at 17:52, Jimi Xenidis wrote:
I think around linux-2.4.19 (and thanks to rusty?) bitops.h went s/void */unsigned long */, any chance is Xen following suit? The next request would be to change all arrays destined for bitops to be defined using unsigned long.
specifically:
Just cast to 'unsigned long *' when you use those ops. Why work around details of the way that Linux happens to do atomic ops in our interfaces?
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: [Xen-changelog] Add Gentoo handling to network-bridge. Based on patches , Anthony Liguori
Next by Date: [Xen-devel] Daily Xen Builds , David F Barrera
Previous by Thread: [Xen-devel] My turn to rant about types... bitops , Jimi Xenidis
Next by Thread: Re: [Xen-devel] My turn to rant about types... bitops , Jimi Xenidis
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /