diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-06-11 18:03:08 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-06-19 12:39:21 -0400 |
commit | d8cb4e119f9a97f87f69a179d855f5dfc5d578c2 (patch) | |
tree | 65758baf0c2bb77c86d002ec602f4b3c75fa27c9 /arch/mips | |
parent | 3e0ba410a5d5595c2b79ecbfb85fb2466b998680 (diff) |
[MIPS] Cleanup ARCH_DISCONTIGMEM_ENABLE and NUMA configuration.
IP27 configuration isn't the only NUMA system - it just happens to be
the currently only supported MIPS NUMA system. So move the necessary
options back into the main MIPS Kconfig file.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 23 | ||||
-rw-r--r-- | arch/mips/sgi-ip27/Kconfig | 17 |
2 files changed, 23 insertions, 17 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index c9116a40e45a..1c78661abe11 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -601,6 +601,7 @@ config SGI_IP27 | |||
601 | select SYS_HAS_CPU_R10000 | 601 | select SYS_HAS_CPU_R10000 |
602 | select SYS_SUPPORTS_64BIT_KERNEL | 602 | select SYS_SUPPORTS_64BIT_KERNEL |
603 | select SYS_SUPPORTS_BIG_ENDIAN | 603 | select SYS_SUPPORTS_BIG_ENDIAN |
604 | select SYS_SUPPORTS_NUMA | ||
604 | help | 605 | help |
605 | This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics | 606 | This are the SGI Origin 200, Origin 2000 and Onyx 2 Graphics |
606 | workstations. To compile a Linux kernel that runs on these, say Y | 607 | workstations. To compile a Linux kernel that runs on these, say Y |
@@ -1631,6 +1632,28 @@ config ARCH_FLATMEM_ENABLE | |||
1631 | def_bool y | 1632 | def_bool y |
1632 | depends on !NUMA | 1633 | depends on !NUMA |
1633 | 1634 | ||
1635 | config ARCH_DISCONTIGMEM_ENABLE | ||
1636 | bool | ||
1637 | default y if SGI_IP27 | ||
1638 | help | ||
1639 | Say Y to upport efficient handling of discontiguous physical memory, | ||
1640 | for architectures which are either NUMA (Non-Uniform Memory Access) | ||
1641 | or have huge holes in the physical address space for other reasons. | ||
1642 | See <file:Documentation/vm/numa> for more. | ||
1643 | |||
1644 | config NUMA | ||
1645 | bool "NUMA Support" | ||
1646 | depends on SYS_SUPPORTS_NUMA | ||
1647 | help | ||
1648 | Say Y to compile the kernel to support NUMA (Non-Uniform Memory | ||
1649 | Access). This option improves performance on systems with more | ||
1650 | than two nodes; on two node systems it is generally better to | ||
1651 | leave it disabled; on single node systems disable this option | ||
1652 | disabled. | ||
1653 | |||
1654 | config SYS_SUPPORTS_NUMA | ||
1655 | bool | ||
1656 | |||
1634 | config NODES_SHIFT | 1657 | config NODES_SHIFT |
1635 | int | 1658 | int |
1636 | default "6" | 1659 | default "6" |
diff --git a/arch/mips/sgi-ip27/Kconfig b/arch/mips/sgi-ip27/Kconfig index 7b0bc4437243..6da5926210a6 100644 --- a/arch/mips/sgi-ip27/Kconfig +++ b/arch/mips/sgi-ip27/Kconfig | |||
@@ -13,23 +13,6 @@ config SGI_SN0_N_MODE | |||
13 | which allows for more memory. Your system is most probably | 13 | which allows for more memory. Your system is most probably |
14 | running in M-Mode, so you should say N here. | 14 | running in M-Mode, so you should say N here. |
15 | 15 | ||
16 | config ARCH_DISCONTIGMEM_ENABLE | ||
17 | bool | ||
18 | default y if SGI_IP27 | ||
19 | help | ||
20 | Say Y to upport efficient handling of discontiguous physical memory, | ||
21 | for architectures which are either NUMA (Non-Uniform Memory Access) | ||
22 | or have huge holes in the physical address space for other reasons. | ||
23 | See <file:Documentation/vm/numa> for more. | ||
24 | |||
25 | config NUMA | ||
26 | bool "NUMA Support" | ||
27 | depends on SGI_IP27 | ||
28 | help | ||
29 | Say Y to compile the kernel to support NUMA (Non-Uniform Memory | ||
30 | Access). This option is for configuring high-end multiprocessor | ||
31 | server machines. If in doubt, say N. | ||
32 | |||
33 | config MAPPED_KERNEL | 16 | config MAPPED_KERNEL |
34 | bool "Mapped kernel support" | 17 | bool "Mapped kernel support" |
35 | depends on SGI_IP27 | 18 | depends on SGI_IP27 |