From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: My turn to rant about types... bitops Date: Thu, 6 Oct 2005 17:19:26 +0200 Message-ID: <200510061719.26806.ak@suse.de> References: <139052B3-308D-4B5F-9836-16F316A88398@watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jimi Xenidis Cc: rusty@rustcorp.com.au, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Thursday 06 October 2005 17:10, Jimi Xenidis wrote: > On Oct 6, 2005, at 9:39 AM, Andi Kleen wrote: > > Jimi Xenidis 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. Well, that's a specific linuxppc64 limitation. -Andi