From: Ian Campbell Subject: Re: [PATCH 1/4] tools: s/arm/arm32/ in foreign header checks. Date: Thu, 14 Feb 2013 15:03:06 +0000 Message-ID: <1360854186.20449.424.camel@zakaz.uk.xensource.com> References: <1360851324.20449.396.camel@zakaz.uk.xensource.com> <1360851374-28326-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1360851374-28326-1-git-send-email-ian.campbell@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" Cc: Jan Beulich List-Id: xen-devel@lists.xenproject.org On Thu, 2013-02-14 at 14:16 +0000, Ian Campbell wrote: > diff --git a/tools/include/xen-foreign/mkheader.py b/tools/include/xen-foreign/mkheader.py > index d189b07..c8af7a1 100644 > --- a/tools/include/xen-foreign/mkheader.py > +++ b/tools/include/xen-foreign/mkheader.py > @@ -17,11 +17,15 @@ header = {}; > footer = {}; > > #arm > -inttypes["arm"] = { > +inttypes["arm32"] = { > "unsigned long" : "uint32_t", > "long" : "uint32_t", > "xen_pfn_t" : "uint64_t", > }; > +header["x86_32"] = """ > +#define __arm__ARM32 1 As well as s/x86_32/arm32/ this should actually be "__arm___ARM32" too.