Re: include/asm-arm/memory.h changes break zaurus sl-5500 boot

From: KAMEZAWA Hiroyuki
Date: Mon Apr 03 2006 - 05:08:17 EST


On Mon, 3 Apr 2006 10:02:07 +0100
Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:
> In turn, that means that we can pass it whatever address we happen to
> have available at the time, or whichever is simpler to calculate.
>
interesting :)

> In the cases you're looking at (pfn to map number) giving it pfn <<
> PAGE_SHIFT is entirely sufficient, and is in fact optimal for
> performance.

Ok, I'll post fixed patch, which uses LOCAL_MAP_NR((pfn) << PAGE_SHIFT)

Thank you for advices!

--Kame

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