aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-06-04 06:51:46 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-06-29 16:10:51 -0400
commite73ea273ef87a04ff59fc368fa33333dca275dde (patch)
tree65c3d7a34a1ecee336c2d194769d7b4614b68593 /arch/mips/Kconfig
parenta620dbe378f3940dc058435d8ce89f5a4a7b77d5 (diff)
[MIPS] Fix build error: don't offer SMP on systems that don't have SMP.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b8616a0bf93e..002845e820f3 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -536,6 +536,7 @@ config PMC_YOSEMITE
536 select SYS_SUPPORTS_64BIT_KERNEL 536 select SYS_SUPPORTS_64BIT_KERNEL
537 select SYS_SUPPORTS_BIG_ENDIAN 537 select SYS_SUPPORTS_BIG_ENDIAN
538 select SYS_SUPPORTS_HIGHMEM 538 select SYS_SUPPORTS_HIGHMEM
539 select SYS_SUPPORTS_SMP
539 help 540 help
540 Yosemite is an evaluation board for the RM9000x2 processor 541 Yosemite is an evaluation board for the RM9000x2 processor
541 manufactured by PMC-Sierra. 542 manufactured by PMC-Sierra.
@@ -590,6 +591,7 @@ config SGI_IP22
590 select SYS_SUPPORTS_32BIT_KERNEL 591 select SYS_SUPPORTS_32BIT_KERNEL
591 select SYS_SUPPORTS_64BIT_KERNEL 592 select SYS_SUPPORTS_64BIT_KERNEL
592 select SYS_SUPPORTS_BIG_ENDIAN 593 select SYS_SUPPORTS_BIG_ENDIAN
594 select SYS_SUPPORTS_SMP
593 help 595 help
594 This are the SGI Indy, Challenge S and Indigo2, as well as certain 596 This are the SGI Indy, Challenge S and Indigo2, as well as certain
595 OEM variants like the Tandem CMN B006S. To compile a Linux kernel 597 OEM variants like the Tandem CMN B006S. To compile a Linux kernel
@@ -1678,8 +1680,8 @@ source "mm/Kconfig"
1678 1680
1679config SMP 1681config SMP
1680 bool "Multi-Processing support" 1682 bool "Multi-Processing support"
1681 depends on CPU_RM9000 || ((SIBYTE_BCM1x80 || SIBYTE_BCM1x55 || SIBYTE_SB1250 || QEMU) && !SIBYTE_STANDALONE) || SGI_IP27 || MIPS_MT_SMP || MIPS_MT_SMTC 1683 depends on SYS_SUPPORTS_SMP
1682 ---help--- 1684 help
1683 This enables support for systems with more than one CPU. If you have 1685 This enables support for systems with more than one CPU. If you have
1684 a system with only one CPU, like most personal computers, say N. If 1686 a system with only one CPU, like most personal computers, say N. If
1685 you have a system with more than one CPU, say Y. 1687 you have a system with more than one CPU, say Y.
@@ -1698,6 +1700,9 @@ config SMP
1698 1700
1699 If you don't know what to do here, say N. 1701 If you don't know what to do here, say N.
1700 1702
1703config SYS_SUPPORTS_SMP
1704 bool
1705
1701config NR_CPUS 1706config NR_CPUS
1702 int "Maximum number of CPUs (2-64)" 1707 int "Maximum number of CPUs (2-64)"
1703 range 2 64 1708 range 2 64