diff options
author | Andy Whitcroft <apw@shadowen.org> | 2005-06-23 03:08:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 12:45:06 -0400 |
commit | 145e664231648121026d470094c200851a446a73 (patch) | |
tree | c9362f4ec3e3114afb9b7134ae89152cbbc73cd4 /arch/ppc64/Kconfig | |
parent | 74b30be2e183bd9a12d0350698996e3d1969f290 (diff) |
[PATCH] ppc64: sparsemem memory model
Provide the architecture specific implementation for SPARSEMEM for PPC64
systems.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Mike Kravetz <kravetz@us.ibm.com> (in part)
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/ppc64/Kconfig')
-rw-r--r-- | arch/ppc64/Kconfig | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/ppc64/Kconfig b/arch/ppc64/Kconfig index c92d48fe06e5..6448231cb106 100644 --- a/arch/ppc64/Kconfig +++ b/arch/ppc64/Kconfig | |||
@@ -198,6 +198,13 @@ config HMT | |||
198 | This option enables hardware multithreading on RS64 cpus. | 198 | This option enables hardware multithreading on RS64 cpus. |
199 | pSeries systems p620 and p660 have such a cpu type. | 199 | pSeries systems p620 and p660 have such a cpu type. |
200 | 200 | ||
201 | config ARCH_SELECT_MEMORY_MODEL | ||
202 | def_bool y | ||
203 | |||
204 | config ARCH_FLATMEM_ENABLE | ||
205 | def_bool y | ||
206 | depends on !NUMA | ||
207 | |||
201 | config ARCH_DISCONTIGMEM_ENABLE | 208 | config ARCH_DISCONTIGMEM_ENABLE |
202 | def_bool y | 209 | def_bool y |
203 | depends on SMP && PPC_PSERIES | 210 | depends on SMP && PPC_PSERIES |
@@ -209,6 +216,10 @@ config ARCH_DISCONTIGMEM_DEFAULT | |||
209 | config ARCH_FLATMEM_ENABLE | 216 | config ARCH_FLATMEM_ENABLE |
210 | def_bool y | 217 | def_bool y |
211 | 218 | ||
219 | config ARCH_SPARSEMEM_ENABLE | ||
220 | def_bool y | ||
221 | depends on ARCH_DISCONTIGMEM_ENABLE | ||
222 | |||
212 | source "mm/Kconfig" | 223 | source "mm/Kconfig" |
213 | 224 | ||
214 | config HAVE_ARCH_EARLY_PFN_TO_NID | 225 | config HAVE_ARCH_EARLY_PFN_TO_NID |
@@ -229,7 +240,7 @@ config NODES_SPAN_OTHER_NODES | |||
229 | 240 | ||
230 | config NUMA | 241 | config NUMA |
231 | bool "NUMA support" | 242 | bool "NUMA support" |
232 | depends on DISCONTIGMEM | 243 | default y if DISCONTIGMEM || SPARSEMEM |
233 | 244 | ||
234 | config SCHED_SMT | 245 | config SCHED_SMT |
235 | bool "SMT (Hyperthreading) scheduler support" | 246 | bool "SMT (Hyperthreading) scheduler support" |