[PATCH] CONFIG_NET=n build fix
authorAndrew Morton <akpm@osdl.org>
Fri, 23 Jun 2006 09:05:47 +0000 (02:05 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:43:06 +0000 (07:43 -0700)
Cc: Greg KH <greg@kroah.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sysctl.c

index 072ac446810aacac453cd66a9055aa04e67d0ac5..eb8bd214e7d7b8f682819ffb5e29b75c28c24d3c 100644 (file)
@@ -399,7 +399,7 @@ static ctl_table kern_table[] = {
                .strategy       = &sysctl_string,
        },
 #endif
-#ifdef CONFIG_HOTPLUG
+#if defined(CONFIG_HOTPLUG) && defined(CONFIG_NET)
        {
                .ctl_name       = KERN_HOTPLUG,
                .procname       = "hotplug",