Messages in this thread | | | Date | Tue, 8 Feb 2005 18:36:37 -0800 | From | Richard Henderson <> | Subject | Re: out-of-line x86 "put_user()" implementation |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |