Re: Use of __pa() with CONFIG_NONLINEAR

From: Martin J. Bligh
Date: Wed Jul 28 2004 - 15:18:29 EST


> On Wed, 2004-07-28 at 12:47, Martin J. Bligh wrote:
>> Can someone explain the necessity to create the new address space? We don't
>> need it with the current holes between nodes, and from my discssions with
>> Andy, I'm now unconvinced it's necessary.
>
> Actually, the new address space is quite separated from what I'm
> proposing here. I'd prefer to discuss that part when we have an
> implementation surrounding it. I can explain it now if you'd like, but
> it's going to be a bit harder with no code.
>
> The reason we need boot-time __{p,v}a() macros is really quite separate
> from the new (logical) address space. These new macros are just so we
> can assume flat addressing during boot or compile-time, before any
> nonlinear structures are set up.

Ah, OK ... makes more sense - thanks.

However ... what happens to functions calling __pa that are called from
boot time and run time code?

M.

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