Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759189AbZA3A1u (ORCPT ); Thu, 29 Jan 2009 19:27:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754812AbZA3A1l (ORCPT ); Thu, 29 Jan 2009 19:27:41 -0500 Received: from ozlabs.org ([203.10.76.45]:48270 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754726AbZA3A1l (ORCPT ); Thu, 29 Jan 2009 19:27:41 -0500 From: Rusty Russell To: Jeremy Fitzhardinge Subject: Re: [PATCH 4 of 7] x86/paravirt: selectively save/restore regs around pvops calls Date: Fri, 30 Jan 2009 10:57:27 +1030 User-Agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; ) Cc: Ingo Molnar , linux-kernel@vger.kernel.org, "Xen-devel" , "the arch/x86 maintainers" , Ian Campbell , Zachary Amsden , Ravikiran Thirumalai References: <200901291917.26601.rusty@rustcorp.com.au> <4981773A.1050403@goop.org> In-Reply-To: <4981773A.1050403@goop.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901301057.28418.rusty@rustcorp.com.au> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 842 Lines: 19 On Thursday 29 January 2009 20:00:34 Jeremy Fitzhardinge wrote: > Rusty Russell wrote: > > It's kind of messy. Can we do something clever here with token pasting? > > I tried a few things, but no. Passing in just RAX, and then pasting > CLBR_##reg works, and the assembler accepts %RAX - but - the asm code > also #defines RAX , so the assembler ends up seeing > %48. I considered renaming all the CLBR_ defines to CLBR_rax, but that > looks unhappy too. So I stayed with this. OK, then Acked-by: Rusty Russell on this one too. Thanks, Rusty. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/