diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-16 14:27:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 19:18:08 -0500 |
commit | 712f47cea7703a340406fde61e84eb86ce781988 (patch) | |
tree | cf8a4ae14b1503446000454151ef5c8cef507336 /init | |
parent | 312c004d36ce6c739512bac83b452f4c20ab1f62 (diff) |
[PATCH] HOTPLUG: always enable the .config option, unless EMBEDDED
With modules, dynamic /dev, and uevents, people really want
CONFIG_HOTPLUG to be enabled in their kernels. If not, they can still
disable it, but it is discouraged.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/init/Kconfig b/init/Kconfig index 0de8b7765ae4..d2b4e33d66ba 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -197,14 +197,6 @@ config AUDITSYSCALL | |||
197 | can be used independently or with another kernel subsystem, | 197 | can be used independently or with another kernel subsystem, |
198 | such as SELinux. | 198 | such as SELinux. |
199 | 199 | ||
200 | config HOTPLUG | ||
201 | bool "Support for hot-pluggable devices" if !ARCH_S390 | ||
202 | default ARCH_S390 | ||
203 | help | ||
204 | This option is provided for the case where no in-kernel-tree | ||
205 | modules require HOTPLUG functionality, but a module built | ||
206 | outside the kernel tree does. Such modules require Y here. | ||
207 | |||
208 | config IKCONFIG | 200 | config IKCONFIG |
209 | bool "Kernel .config support" | 201 | bool "Kernel .config support" |
210 | ---help--- | 202 | ---help--- |
@@ -289,6 +281,15 @@ config KALLSYMS_EXTRA_PASS | |||
289 | you wait for kallsyms to be fixed. | 281 | you wait for kallsyms to be fixed. |
290 | 282 | ||
291 | 283 | ||
284 | config HOTPLUG | ||
285 | bool "Support for hot-pluggable devices" if EMBEDDED | ||
286 | default y | ||
287 | help | ||
288 | This option is provided for the case where no hotplug or uevent | ||
289 | capabilities is wanted by the kernel. You should only consider | ||
290 | disabling this option for embedded systems that do not use modules, a | ||
291 | dynamic /dev tree, or dynamic device discovery. Just say Y. | ||
292 | |||
292 | config PRINTK | 293 | config PRINTK |
293 | default y | 294 | default y |
294 | bool "Enable support for printk" if EMBEDDED | 295 | bool "Enable support for printk" if EMBEDDED |