aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig36
1 files changed, 28 insertions, 8 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index e6d8ab5cfa9..0e318c905ee 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -158,7 +158,6 @@ config LOCKDEP_SUPPORT
158 158
159config HAVE_LATENCYTOP_SUPPORT 159config HAVE_LATENCYTOP_SUPPORT
160 def_bool y 160 def_bool y
161 depends on !SMP
162 161
163config ARCH_HAS_ILOG2_U32 162config ARCH_HAS_ILOG2_U32
164 def_bool n 163 def_bool n
@@ -238,6 +237,8 @@ config CPU_SHX2
238config CPU_SHX3 237config CPU_SHX3
239 bool 238 bool
240 select DMA_COHERENT 239 select DMA_COHERENT
240 select SYS_SUPPORTS_SMP
241 select SYS_SUPPORTS_NUMA
241 242
242config ARCH_SHMOBILE 243config ARCH_SHMOBILE
243 bool 244 bool
@@ -454,18 +455,12 @@ config CPU_SUBTYPE_SH7786
454 select CPU_SH4A 455 select CPU_SH4A
455 select CPU_SHX3 456 select CPU_SHX3
456 select CPU_HAS_PTEAEX 457 select CPU_HAS_PTEAEX
457 select ARCH_SPARSEMEM_ENABLE
458 select SYS_SUPPORTS_NUMA
459 select SYS_SUPPORTS_SMP
460 select GENERIC_CLOCKEVENTS_BROADCAST if SMP 458 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
461 459
462config CPU_SUBTYPE_SHX3 460config CPU_SUBTYPE_SHX3
463 bool "Support SH-X3 processor" 461 bool "Support SH-X3 processor"
464 select CPU_SH4A 462 select CPU_SH4A
465 select CPU_SHX3 463 select CPU_SHX3
466 select ARCH_SPARSEMEM_ENABLE
467 select SYS_SUPPORTS_NUMA
468 select SYS_SUPPORTS_SMP
469 select GENERIC_CLOCKEVENTS_BROADCAST if SMP 464 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
470 465
471# SH4AL-DSP Processor Support 466# SH4AL-DSP Processor Support
@@ -635,7 +630,7 @@ config KEXEC
635 630
636config CRASH_DUMP 631config CRASH_DUMP
637 bool "kernel crash dumps (EXPERIMENTAL)" 632 bool "kernel crash dumps (EXPERIMENTAL)"
638 depends on SUPERH32 && EXPERIMENTAL 633 depends on SUPERH32 && EXPERIMENTAL && BROKEN_ON_SMP
639 help 634 help
640 Generate crash dump after being started by kexec. 635 Generate crash dump after being started by kexec.
641 This should be normally only set in special crash dump kernels 636 This should be normally only set in special crash dump kernels
@@ -707,6 +702,13 @@ config NR_CPUS
707 This is purely to save memory - each supported CPU adds 702 This is purely to save memory - each supported CPU adds
708 approximately eight kilobytes to the kernel image. 703 approximately eight kilobytes to the kernel image.
709 704
705config HOTPLUG_CPU
706 bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
707 depends on SMP && HOTPLUG && EXPERIMENTAL
708 help
709 Say Y here to experiment with turning CPUs off and on. CPUs
710 can be controlled through /sys/devices/system/cpu.
711
710source "kernel/Kconfig.preempt" 712source "kernel/Kconfig.preempt"
711 713
712config GUSA 714config GUSA
@@ -733,6 +735,8 @@ config GUSA_RB
733 LLSC, this should be more efficient than the other alternative of 735 LLSC, this should be more efficient than the other alternative of
734 disabling interrupts around the atomic sequence. 736 disabling interrupts around the atomic sequence.
735 737
738source "drivers/sh/Kconfig"
739
736endmenu 740endmenu
737 741
738menu "Boot options" 742menu "Boot options"
@@ -864,4 +868,20 @@ source "security/Kconfig"
864 868
865source "crypto/Kconfig" 869source "crypto/Kconfig"
866 870
871menuconfig VIRTUALIZATION
872 bool "Virtualization"
873 default n
874 ---help---
875 Say Y here to get to see options for using your Linux host to run other
876 operating systems inside virtual machines (guests).
877 This option alone does not add any kernel code.
878
879 If you say N, all options in this submenu will be skipped and disabled.
880
881if VIRTUALIZATION
882
883source drivers/virtio/Kconfig
884
885endif # VIRTUALIZATION
886
867source "lib/Kconfig" 887source "lib/Kconfig"