[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200901301057.28418.rusty@rustcorp.com.au>
Date: Fri, 30 Jan 2009 10:57:27 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
"Xen-devel" <xen-devel@...ts.xensource.com>,
"the arch/x86 maintainers" <x86@...nel.org>,
Ian Campbell <ian.campbell@...rix.com>,
Zachary Amsden <zach@...are.com>,
Ravikiran Thirumalai <kiran@...lemp.com>
Subject: Re: [PATCH 4 of 7] x86/paravirt: selectively save/restore regs around pvops calls
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 <some stack offset>, 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 <rusty@...tcorp.com.au> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists