Re: Announce: Kernel Build for 2.5, Release 1.1 is available.

From: Richard Henderson (rth@twiddle.net)
Date: Sun Aug 19 2001 - 02:13:44 EST


On Sun, Aug 12, 2001 at 01:03:00AM +1000, Keith Owens wrote:
> asm volatile("\n-> " #sym " %c0 " #val " " #marker : : "i" (val))

This is bad -- 'c' requests an address constant (CONSTANT_ADDRESS_P
if you're playing from home), and as defined this constant must be
valid in an instruction.

Such things are by nature target specific. On ia64, for instance,
there are *no* valid address constants, since all valid memory
addresses are simple registers.

You can do what you want here with just "%0".

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/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:30 EST