aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-06-11 18:03:08 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-06-19 12:39:21 -0400
commitd8cb4e119f9a97f87f69a179d855f5dfc5d578c2 (patch)
tree65758baf0c2bb77c86d002ec602f4b3c75fa27c9 /arch/mips/Kconfig
parent3e0ba410a5d5595c2b79ecbfb85fb2466b998680 (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/Kconfig')
-rw-r--r--arch/mips/Kconfig23
1 files changed, 23 insertions, 0 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
1635config 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
1644config 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
1654config SYS_SUPPORTS_NUMA
1655 bool
1656
1634config NODES_SHIFT 1657config NODES_SHIFT
1635 int 1658 int
1636 default "6" 1659 default "6"