diff options
author | Dave Hansen <haveblue@us.ibm.com> | 2005-06-23 03:07:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 12:45:02 -0400 |
commit | 3f22ab276b931b72ea04b184c155b34d0362bfc3 (patch) | |
tree | 013e6ba32f4b2fcb66f9726ba6b2c6dc64f6622d /arch/ia64 | |
parent | 3a9da7655d2d5b7f790a370328cf093440c80496 (diff) |
[PATCH] make each arch use mm/Kconfig
For all architectures, this just means that you'll see a "Memory Model"
choice in your architecture menu. For those that implement DISCONTIGMEM,
you may eventually want to make your ARCH_DISCONTIGMEM_ENABLE a "def_bool
y" and make your users select DISCONTIGMEM right out of the new choice
menu. The only disadvantage might be if you have some specific things that
you need in your help option to explain something about DISCONTIGMEM.
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index ce4dfa8b834d..9f6a46caba9b 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -197,7 +197,7 @@ config HOLES_IN_ZONE | |||
197 | bool | 197 | bool |
198 | default y if VIRTUAL_MEM_MAP | 198 | default y if VIRTUAL_MEM_MAP |
199 | 199 | ||
200 | config DISCONTIGMEM | 200 | config ARCH_DISCONTIGMEM_ENABLE |
201 | bool "Discontiguous memory support" | 201 | bool "Discontiguous memory support" |
202 | depends on (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB) && NUMA && VIRTUAL_MEM_MAP | 202 | depends on (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB) && NUMA && VIRTUAL_MEM_MAP |
203 | default y if (IA64_SGI_SN2 || IA64_GENERIC) && NUMA | 203 | default y if (IA64_SGI_SN2 || IA64_GENERIC) && NUMA |
@@ -300,6 +300,8 @@ config PREEMPT | |||
300 | Say Y here if you are building a kernel for a desktop, embedded | 300 | Say Y here if you are building a kernel for a desktop, embedded |
301 | or real-time system. Say N if you are unsure. | 301 | or real-time system. Say N if you are unsure. |
302 | 302 | ||
303 | source "mm/Kconfig" | ||
304 | |||
303 | config HAVE_DEC_LOCK | 305 | config HAVE_DEC_LOCK |
304 | bool | 306 | bool |
305 | depends on (SMP || PREEMPT) | 307 | depends on (SMP || PREEMPT) |