On Mon, 3 Apr 2006 10:02:07 +0100 Russell King <[email protected]> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- include/asm-arm/memory.h changes break zaurus sl-5500 boot
- From: Pavel Machek <[email protected]>
- Re: include/asm-arm/memory.h changes break zaurus sl-5500 boot
- From: Russell King <[email protected]>
- Re: include/asm-arm/memory.h changes break zaurus sl-5500 boot
- From: Pavel Machek <[email protected]>
- Re: include/asm-arm/memory.h changes break zaurus sl-5500 boot
- From: KAMEZAWA Hiroyuki <[email protected]>
- Re: include/asm-arm/memory.h changes break zaurus sl-5500 boot
- From: Russell King <[email protected]>
- Re: include/asm-arm/memory.h changes break zaurus sl-5500 boot
- From: KAMEZAWA Hiroyuki <[email protected]>
- Re: include/asm-arm/memory.h changes break zaurus sl-5500 boot
- From: KAMEZAWA Hiroyuki <[email protected]>
- Re: include/asm-arm/memory.h changes break zaurus sl-5500 boot
- From: Russell King <[email protected]>
- include/asm-arm/memory.h changes break zaurus sl-5500 boot
- Prev by Date: 2.6.14.6 BUG: spinlock cpu recursion on CPU#1, kswapd0/185
- Next by Date: Re: 2.6.17-rc1 core_sys_select incompatible pointer types
- Previous by thread: Re: include/asm-arm/memory.h changes break zaurus sl-5500 boot
- Next by thread: Re: [ALSA PATCH] CVS sync
- Index(es):