Messages in this thread | | | Date | Mon, 3 Apr 2006 18:08:39 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: 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/
| |