ソースを参照

[PATCH] CONFIG_NET=n build fix

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>
Andrew Morton 19 年 前
コミット
57ae250861
1 ファイル変更1 行追加1 行削除
  1. 1 1
      kernel/sysctl.c

+ 1 - 1
kernel/sysctl.c

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