lkml.org 
[lkml]   [2006]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: include/asm-arm/memory.h changes break zaurus sl-5500 boot
On Mon, 3 Apr 2006 10:02:07 +0100
Russell King <rmk+lkml@arm.linux.org.uk> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-03 14:37    [W:0.348 / U:1.296 seconds]
©2003-2014 Jasper Spaans. Advertise on this site