Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2867
b: refs/heads/master
c: 510f8fa
h: refs/heads/master
i:
  2865: 2b8f022
  2863: 0aea3aa
v: v3
  • Loading branch information
Andy Whitcroft authored and Linus Torvalds committed Jun 23, 2005
1 parent f8cdbb4 commit 062f67c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 29751f6991e845f7d002a6ae520bf996b38c8dcd
refs/heads/master: 510f8fa7ba18320d408dd3093663e58f5664f2f0
4 changes: 4 additions & 0 deletions trunk/arch/ppc64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ config ARCH_FLATMEM_ENABLE

source "mm/Kconfig"

config HAVE_ARCH_EARLY_PFN_TO_NID
bool
default y

# Some NUMA nodes have memory ranges that span
# other nodes. Even though a pfn is valid and
# between a node's start and end pfns, it may not
Expand Down
5 changes: 5 additions & 0 deletions trunk/include/asm-ppc64/mmzone.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,9 @@ static inline int pa_to_nid(unsigned long pa)
#define discontigmem_pfn_valid(pfn) ((pfn) < num_physpages)

#endif /* CONFIG_DISCONTIGMEM */

#ifdef CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID
#define early_pfn_to_nid(pfn) pa_to_nid(((unsigned long)pfn) << PAGE_SHIFT)
#endif

#endif /* _ASM_MMZONE_H_ */

0 comments on commit 062f67c

Please sign in to comment.