diff options
author | Andy Whitcroft <apw@shadowen.org> | 2005-06-23 03:08:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 12:45:05 -0400 |
commit | 510f8fa7ba18320d408dd3093663e58f5664f2f0 (patch) | |
tree | e355a1268cc9f42fac7e4b904d67e450775fb91f /arch | |
parent | 29751f6991e845f7d002a6ae520bf996b38c8dcd (diff) |
[PATCH] ppc64: add early_pfn_to_nid
Provide an implementation of early_pfn_to_nid for PPC64. This is used by
memory models to determine the node from which to take allocations before the
memory allocators are fully initialised.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Martin Bligh <mbligh@aracnet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ppc64/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc64/Kconfig b/arch/ppc64/Kconfig index 85f8fcf44b6c..3c8bfd0345cc 100644 --- a/arch/ppc64/Kconfig +++ b/arch/ppc64/Kconfig | |||
@@ -211,6 +211,10 @@ config ARCH_FLATMEM_ENABLE | |||
211 | 211 | ||
212 | source "mm/Kconfig" | 212 | source "mm/Kconfig" |
213 | 213 | ||
214 | config HAVE_ARCH_EARLY_PFN_TO_NID | ||
215 | bool | ||
216 | default y | ||
217 | |||
214 | # Some NUMA nodes have memory ranges that span | 218 | # Some NUMA nodes have memory ranges that span |
215 | # other nodes. Even though a pfn is valid and | 219 | # other nodes. Even though a pfn is valid and |
216 | # between a node's start and end pfns, it may not | 220 | # between a node's start and end pfns, it may not |