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/sh/Kconfig | |
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/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 3468d5127223..ac2b865359b2 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -486,7 +486,7 @@ config CPU_SUBTYPE_ST40 | |||
486 | depends on CPU_SUBTYPE_ST40STB1 || CPU_SUBTYPE_ST40GX1 | 486 | depends on CPU_SUBTYPE_ST40STB1 || CPU_SUBTYPE_ST40GX1 |
487 | default y | 487 | default y |
488 | 488 | ||
489 | config DISCONTIGMEM | 489 | config ARCH_DISCONTIGMEM_ENABLE |
490 | bool | 490 | bool |
491 | depends on SH_HP690 | 491 | depends on SH_HP690 |
492 | default y | 492 | default y |
@@ -496,6 +496,12 @@ config DISCONTIGMEM | |||
496 | or have huge holes in the physical address space for other reasons. | 496 | or have huge holes in the physical address space for other reasons. |
497 | See <file:Documentation/vm/numa> for more. | 497 | See <file:Documentation/vm/numa> for more. |
498 | 498 | ||
499 | config ARCH_FLATMEM_DISABLE | ||
500 | def_bool y | ||
501 | depends on ARCH_DISCONTIGMEM_ENABLE | ||
502 | |||
503 | source "mm/Kconfig" | ||
504 | |||
499 | config ZERO_PAGE_OFFSET | 505 | config ZERO_PAGE_OFFSET |
500 | hex "Zero page offset" | 506 | hex "Zero page offset" |
501 | default "0x00001000" if !(SH_MPC1211 || SH_SH03) | 507 | default "0x00001000" if !(SH_MPC1211 || SH_SH03) |