Re: [PATCH] Cleanup port 0x80 use (was: Re: IO delay ...)

Jamie Lokier (lk@tantalophile.demon.co.uk)
Mon, 18 Mar 2002 15:22:14 +0000


Martin Wilck wrote:
> > As long as __SLOW_DOWN_IO_PORT is a simple constant, you can just use
> > this instead:
> >
> > #define __SLOW_DOWN_IO_ASM "\noutb %%al,$" #__SLOW_DOWN_IO_PORT
>
> What cpp are you guys using? Mine does stringification (#s) only with
> arguments of function-like macros.

You're right, my error. You need to use an argument, as has already
been pointed out -- <linux/stringify.h>.

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