Re: [PATCH] Support kernel/hotplug sysctl variable when !CONFIG_NET

From: Greg KH
Date: Mon Jun 07 2010 - 13:45:17 EST


On Mon, Jun 07, 2010 at 12:57:12PM +0100, Ian Abbott wrote:
> From: Ian Abbott <abbotti@xxxxxxxxx>
>
> 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.

Why is this restriction no longer needed? What changed?

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

Why is this needed? Are you really running without a network and still
want to change the default /sbin/hotplug binary?

confused,

greg k-h
--
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/