Re: cpuid_eax damages registers (2.4.7pre7)

From: Richard Henderson (
Date: Sat Jul 21 2001 - 18:45:44 EST

On Wed, Jul 18, 2001 at 08:10:22AM -0700, Linus Torvalds wrote:
> - fix _all_ the "cpuid*()" functions to have
> :"0" (op)
> instead of their current incorrect
> :"a" (op)
> (we're supposed to explicitly tell the compiler that the first input
> is the same as the first output)

FWIW, using "a" as the input constraint isn't incorrect.
The two are equivalent given a singleton register class.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:15 EST