Re: out-of-line x86 "put_user()" implementation
From: Richard Henderson
Date: Tue Feb 08 2005 - 21:43:53 EST
On Tue, Feb 08, 2005 at 06:16:15PM -0800, Linus Torvalds wrote:
> I'd happily use your version, but I thought that some versions of gcc
> require that input output registers cannot overlap, and would refuse to do
> that thing? But if you tell me differently..
No, you're thinking of
asm("" : "=a" (x) : : "eax")
where the clobber overlaps the inputs or outputs.
r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/