From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 4/4] xen: arm32: don't force the compiler to allocate a dummy register Date: Mon, 17 Mar 2014 14:33:52 +0000 Message-ID: <532707D0.2000807@linaro.org> References: <1395064315.18221.26.camel@kazak.uk.xensource.com> <1395064352-2128-4-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: <1395064352-2128-4-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: Ian Campbell Cc: stefano.stabellini@eu.citrix.com, tim@xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi Ian, On 03/17/2014 01:52 PM, Ian Campbell wrote: > Signed-off-by: Ian Campbell > --- > xen/include/asm-arm/arm32/page.h | 14 ++++++-------- > xen/include/asm-arm/arm32/processor.h | 4 ++++ > 2 files changed, 10 insertions(+), 8 deletions(-) > > diff --git a/xen/include/asm-arm/arm32/page.h b/xen/include/asm-arm/arm32/page.h > index 27027d8..beebe8b 100644 > --- a/xen/include/asm-arm/arm32/page.h > +++ b/xen/include/asm-arm/arm32/page.h > @@ -37,15 +37,14 @@ static inline void write_pte(lpae_t *p, lpae_t pte) > */ > static inline void flush_xen_text_tlb_local(void) > { > - register unsigned long r0 asm ("r0"); Good to see it's removed :). It was a GNU C extension and preventing Xen to build on clang. Acked-by: Julien Grall Regards, -- Julien Grall