[PATCH] HOTPLUG: always enable the .config option, unless EMBEDDED

From: Greg KH
Date: Wed Jan 04 2006 - 19:58:13 EST


[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@xxxxxxx>

---
commit 712f47cea7703a340406fde61e84eb86ce781988
tree cf8a4ae14b1503446000454151ef5c8cef507336
parent 312c004d36ce6c739512bac83b452f4c20ab1f62
author Greg Kroah-Hartman <gregkh@xxxxxxx> Wed, 16 Nov 2005 11:27:07 -0800
committer Greg Kroah-Hartman <gregkh@xxxxxxx> Wed, 04 Jan 2006 16:18:08 -0800

init/Kconfig | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index 0de8b77..d2b4e33 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -197,14 +197,6 @@ config AUDITSYSCALL
can be used independently or with another kernel subsystem,
such as SELinux.

-config HOTPLUG
- bool "Support for hot-pluggable devices" if !ARCH_S390
- default ARCH_S390
- help
- This option is provided for the case where no in-kernel-tree
- modules require HOTPLUG functionality, but a module built
- outside the kernel tree does. Such modules require Y here.
-
config IKCONFIG
bool "Kernel .config support"
---help---
@@ -289,6 +281,15 @@ config KALLSYMS_EXTRA_PASS
you wait for kallsyms to be fixed.


+config HOTPLUG
+ bool "Support for hot-pluggable devices" if EMBEDDED
+ default y
+ help
+ This option is provided for the case where no hotplug or uevent
+ capabilities is wanted by the kernel. You should only consider
+ disabling this option for embedded systems that do not use modules, a
+ dynamic /dev tree, or dynamic device discovery. Just say Y.
+
config PRINTK
default y
bool "Enable support for printk" if EMBEDDED

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/