From: Keir Fraser Subject: Re: [rfc] [patch] more 'long' in the hypervisor interface Date: Wed, 28 Jun 2006 22:02:21 +0100 Message-ID: <0a964317fd71359e22710c2b67188597@cl.cam.ac.uk> References: <1151528600.11374.75.camel@basalt.austin.ibm.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1151528600.11374.75.camel@basalt.austin.ibm.com> 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 Cc: xen-devel , xen-ppc-devel List-Id: xen-devel@lists.xenproject.org On 28 Jun 2006, at 22:03, Hollis Blanchard wrote: > Hi Keir, we've come across some more users of 'long' in the hypervisor > interface: xen/include/public/memory.h. Unlike the dom0_ops, we can't > just change these to be 64 bits because 32-bit kernels use these > structures for the balloon driver. > > I would like to create a new type, say "legacy_ulong_t", to cover these > cases and future instances we'll undoubtedly come across. What do you > think? > > Signed-off-by: Hollis Blanchard Call them xen_ulong_t and they're fine. They're hardly legacy since there's no suitable non-legacy replacement right now. Don't forget the typedef in the other arch-*.h headers as well. -- Keir