lkml.org 
[lkml]   [2006]   [Apr]   [2]   [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 00:23:14 +0200
Pavel Machek <pavel@ucw.cz> wrote:

> On Ne 02-04-06 23:08:07, Russell King wrote:
> > On Sun, Apr 02, 2006 at 11:00:03PM +0200, Pavel Machek wrote:
> > > This reverts this (and one more) patch, and fixes boot on
> > > collie. Without this patch, I get some fairly strange warnings about
> > > shift bigger than page size in pfn_to_page().
> >
> > Not surprising given this gem:
> >
> > > -#define arch_local_page_offset(pfn, nid) (LOCAL_MAP_NR((pfn) << PAGE_OFFSET))
> >
> > PAGE_OFFSET being 3GB - that's one hell of a shift value!
>
stupid...PAGE_OFFSET is offset.. not shift.

LOCAL_MAP_NR((pfn) << PAGE_SHIFT) ?? what does file include this ?
I'll look into.

- 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:39    [from the cache]
©2003-2011 Jasper Spaans