Re: RFC: avoid asmlinkage on x86 traps/interrupts

From: Linus Torvalds
Date: Wed Nov 03 2004 - 10:22:36 EST




On Wed, 3 Nov 2004, Andrea Arcangeli wrote:
>
> I guess it'd be nicer to simply move the output into the input with "a",
> "d", "b", and the not add any output at all, and put "eax/edx" back into
> the clobbers.

Ehh.. You aren't allowed to clobber inputs. Try it with any modern version
of gcc.

Linus
-
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/