aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-19 03:00:00 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-06-23 04:30:17 -0400
commit2eb2a4368273e123d2716a704c86f3130aa14c22 (patch)
treec76ee858fd5a17a983cd37e6881ebcfef3ab9cc7 /arch/sh/Kconfig
parentb29fa1fbc210a51103c7a16af44df42cadce0361 (diff)
sh: SH7786 SMP support.
SH7786 is roughly identical to SH-X3 proto SMP, though there are only 2 CPUs. This just wraps in to the existing SH-X3 SMP code with some minor changes for SH7786, including wiring up the IPIs properly, enabling IRQ_PER_CPU, and so forth. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 09c0aef31d0..eff0f2352c9 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -71,6 +71,9 @@ config GENERIC_HARDIRQS_NO__DO_IRQ
71config GENERIC_IRQ_PROBE 71config GENERIC_IRQ_PROBE
72 def_bool y 72 def_bool y
73 73
74config IRQ_PER_CPU
75 def_bool y
76
74config GENERIC_GPIO 77config GENERIC_GPIO
75 def_bool n 78 def_bool n
76 79
@@ -414,6 +417,8 @@ config CPU_SUBTYPE_SH7786
414 select CPU_HAS_PTEAEX 417 select CPU_HAS_PTEAEX
415 select ARCH_SPARSEMEM_ENABLE 418 select ARCH_SPARSEMEM_ENABLE
416 select SYS_SUPPORTS_NUMA 419 select SYS_SUPPORTS_NUMA
420 select SYS_SUPPORTS_SMP
421 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
417 422
418config CPU_SUBTYPE_SHX3 423config CPU_SUBTYPE_SHX3
419 bool "Support SH-X3 processor" 424 bool "Support SH-X3 processor"
@@ -651,7 +656,7 @@ config NR_CPUS
651 int "Maximum number of CPUs (2-32)" 656 int "Maximum number of CPUs (2-32)"
652 range 2 32 657 range 2 32
653 depends on SMP 658 depends on SMP
654 default "4" if CPU_SHX3 659 default "4" if CPU_SUBTYPE_SHX3
655 default "2" 660 default "2"
656 help 661 help
657 This allows you to specify the maximum number of CPUs which this 662 This allows you to specify the maximum number of CPUs which this