From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Re: [Xen-changelog] [xen-unstable] xen: Split domain_flags into discrete first-class fields in the Date: Thu, 05 Apr 2007 16:56:38 +0100 Message-ID: References: <1175787843.20895.7.camel@basalt> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1175787843.20895.7.camel@basalt> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Hollis Blanchard , Keir Fraser Cc: xen-devel , xen-ppc-devel List-Id: xen-devel@lists.xenproject.org On 5/4/07 16:44, "Hollis Blanchard" wrote: > This is an interface problem: using the interface in a way that works on > x86 fails on other architectures. PLEASE let's redefine the interface to > prevent this from happening. In this case, that means replacing the > xchg() macro with > static inline xchg(atomic_t *ptr, atomic_t val) > and changing the type of 'is_dying'. Just need to define bool_t appropriately. What do you need: a long? -- Keir