From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [RFC 1/1] cpumask: New cpumask API - take 2 - use unsigned longs Date: Wed, 1 Oct 2008 10:45:22 +1000 Message-ID: <200810011045.22859.rusty@rustcorp.com.au> References: <48E269B6.1080904@sgi.com> <48E2A691.7060407@sgi.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48E2A691.7060407-sJ/iWh9BUns@public.gmane.org> Content-Disposition: inline Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Mike Travis Cc: Linus Torvalds , Ingo Molnar , Yinghai Lu , David Miller , Alan.Brunelle-VXdhtT5mjnY@public.gmane.org, tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org, rjw-KKrjLPT3xs0@public.gmane.org, Linux Kernel Mailing List , kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Andrew Morton , arjan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, Jack Steiner On Wednesday 01 October 2008 08:22:09 Mike Travis wrote: > Here's an alternate proposal for the new cpumask API. I have not yet begun ... > +/* cpumask_t defaults to pointer to constant bit map */ > +typedef const unsigned long *cpumask_t; Hiding a const here is not a good idea either, I think :( Rusty.