Re: cpuid_eax damages registers (2.4.7pre7)
Richard Henderson (rth@twiddle.net)
Sat, 21 Jul 2001 16:45:44 -0700
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.
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/