Skip to contentSkip to conversation

fix hotplug config placement

PATCH New Bjorn Helgaas 1 participant 1 message May 24, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix hotplug config placement

HOTPLUG_CPU depends on SMP, so why not put it under SMP?

=== arch/ia64/Kconfig 1.73 vs edited ==--- 1.73/arch/ia64/Kconfig 2004-05-14 20:00:12 -06:00
+++ edited/arch/ia64/Kconfig 2004-05-24 17:05:32 -06:00
@@ -78,15 +78,6 @@

endchoice

-config HOTPLUG_CPU
- bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
- depends on SMP && HOTPLUG && EXPERIMENTAL
- default n
- ---help---

-      Say Y here to experiment with turning CPUs off and on.  CPUs
-      can be controlled through /sys/devices/system/cpu/cpu#.
-      Say N if you want to disable cpu hotplug.

-
choice
prompt "Processor type"
default ITANIUM
@@ -252,6 +243,15 @@
only use 2 CPUs on a >2 CPU system. Setting this to a value larger than 64 will cause the use of a CPU mask array, causing a small performance hit.
+
+config HOTPLUG_CPU
+ bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
+ depends on SMP && HOTPLUG && EXPERIMENTAL
+ default n
+ ---help---

+      Say Y here to experiment with turning CPUs off and on.  CPUs
+      can be controlled through /sys/devices/system/cpu/cpu#.
+      Say N if you want to disable CPU hotplug.

config PREEMPT
bool "Preemptible Kernel"