aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-04 20:01:08 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-06 16:26:16 -0400
commit45f035ab9b8f45aaf1eb2213218b7e9c14af3fc2 (patch)
tree48a3f0fc0f4b87ff744efb0c619329237611a5ea /init/Kconfig
parent1a91b01659ced733492f275e8d634153cebe9443 (diff)
CONFIG_HOTPLUG should be always on
CONFIG_HOTPLUG is a very old option, back when we had static systems and it was odd that any type of device would be removed or added after the system had started up. It is quite hard to disable it these days, and even if you do, it only saves you about 200 bytes. However, if it is disabled, lots of bugs show up because it is almost never tested if the option is disabled. This is a step to eventually just remove the option entirely, which will clean up all of the devinit* variable and function pointer options, that everyone (myself include) ends up getting wrong eventually, causing real problems when memory segments are removed yet we don't expect them to be. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig8
1 files changed, 1 insertions, 7 deletions
diff --git a/init/Kconfig b/init/Kconfig
index af6c7f8ba019..af67c43a2fab 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1201,13 +1201,7 @@ config KALLSYMS_ALL
1201 Say N unless you really need all symbols. 1201 Say N unless you really need all symbols.
1202 1202
1203config HOTPLUG 1203config HOTPLUG
1204 bool "Support for hot-pluggable devices" if EXPERT 1204 def_bool y
1205 default y
1206 help
1207 This option is provided for the case where no hotplug or uevent
1208 capabilities is wanted by the kernel. You should only consider
1209 disabling this option for embedded systems that do not use modules, a
1210 dynamic /dev tree, or dynamic device discovery. Just say Y.
1211 1205
1212config PRINTK 1206config PRINTK
1213 default y 1207 default y