diff options
author | KAMEZAWA Hiroyuki <[email protected]> | 2006-04-04 16:06:00 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2006-04-04 16:06:00 +0100 |
commit | 0da323505fc7dd6b01d35e6181cb3d45f992726a (patch) | |
tree | 83f37f1b88bcbf9559ae86ddfd303c1a4ba21d6c /fs/jbd/commit.c | |
parent | 6246b6128bbe34d0752f119cf7c5111c85fe481d (diff) |
[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 <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions