From: Ian Abbott on
From: Ian Abbott <abbotti(a)>

The kernel/hotplug sysctl variable (/proc/sys/kernel/hotplug file) was
made conditional on CONFIG_NET by commit
f743ca5e10f4145e0b3e6d11b9b46171e16af7ce (applied in 2.6.18) to fix
problems with undefined references in 2.6.16 when CONFIG_HOTPLUG=y &&
!CONFIG_NET, but this restriction is no longer needed.

This patch makes the kernel/hotplug sysctl variable depend only on

Signed-off-by: Ian Abbott <abbotti(a)>
kernel/sysctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 702709b..70bc796 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -567,7 +567,7 @@ static struct ctl_table kern_table[] = {
.extra2 = &one,
-#if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
.procname = "hotplug",
.data = &uevent_helper,

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)
More majordomo info at
Please read the FAQ at