proc_sysctl: use CONFIG_PROC_SYSCTL around ipc and utsname proc_handlers
[safe/jmp/linux-2.6] / kernel / utsname_sysctl.c
index 3b34b35..92359cc 100644 (file)
@@ -37,7 +37,7 @@ static void put_uts(ctl_table *table, int write, void *which)
                up_write(&uts_sem);
 }
 
-#ifdef CONFIG_PROC_FS
+#ifdef CONFIG_PROC_SYSCTL
 /*
  *     Special case of dostring for the UTS structure. This has locks
  *     to observe. Should this be in kernel/sys.c ????