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

From: Russell King
Date: Sun Apr 02 2006 - 18:08:55 EST


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!

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/