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

From: Pavel Machek
Date: Sun Apr 02 2006 - 18:23:42 EST


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!

Unfortunately this is mainline now. Is there some better fix than
simply reverting the offending patches?
Pavel
--
Picture of sleeping (Linux) penguin wanted...
-
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/