Files
linux/include
KAMEZAWA Hiroyuki 0da323505f [ARM] arm's arch_local_page_offset() fix against 2.6.17-rc1
This patch fixes arch_local_page_offset(pfn,nid) in arm.
This new one (added by unify_pfn_to_page patches) is obviously buggy.

This macro calculate page offset in a node.

Note: about LOCAL_MAP_NR()
comment in arm's sub-archs says...

 /*
  * Given a kaddr, LOCAL_MAP_NR finds the owning node of the memory
  * and returns the index corresponding to the appropriate page in the
  * node's mem_map.
  */

but LOCAL_MAP_NR() is designed to be able to take both paddr and kaddr.
In this case, paddr is better.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitu.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2006-04-04 16:06:00 +01:00
..
2006-03-24 07:33:24 -08:00
2006-03-31 12:19:01 -08:00
2006-03-31 12:18:55 -08:00
2006-03-27 08:44:48 -08:00
2006-03-28 09:16:08 -08:00
2006-03-27 08:44:48 -08:00
2006-03-31 12:18:55 -08:00
2006-01-06 08:33:29 -08:00
2006-03-25 08:22:52 -08:00