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 
 
Home Products Support Community News
 
   
 

xen-devel

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


On Oct 6, 2005, at 9:39 AM, Andi Kleen wrote:

Jimi Xenidis <jimix@xxxxxxxxxxxxxx> writes:

adding 32bit bitops but I doubt I'd be able to do that in
Linux which does not provide "u32" bitops.


Actually it does - when the arch has ARCH_HAS_ATOMIC_UNSIGNED set
it's allowed with the normal bitops.
Its not set for linuxppc64, bitops use longs so the code is optimized for them.


-JX
--
"I got an idea, an idea so smart my head would explode if I even
began to know what I was talking about." -- Peter Griffin (Family Guy)




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