Re: [RFC 6/8] x86_64: Define the macros and tables for the basicUV infrastructure.

From: Christoph Hellwig
Date: Tue Mar 25 2008 - 20:09:45 EST


On Tue, Mar 25, 2008 at 11:11:11AM +0100, Andi Kleen wrote:
> Not sure what physical mode is.
>
> > +#ifdef __BIOS__
> > +#define UV_ADDR(x) ((unsigned long *)(x))
> > +#else
> > +#define UV_ADDR(x) ((unsigned long *)__va(x))
> > +#endif
>
> But it it would be cleaner if your BIOS just supplied a suitable __va()
> and then you remove these macros.

the bios should just have headers of it's own instead of placing this
burden on kernel code.
--
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/