proc_sysctl: use CONFIG_PROC_SYSCTL around ipc and utsname proc_handlers
[safe/jmp/linux-2.6] / ipc / ipc_sysctl.c
index 4a7a12c..40eab73 100644 (file)
@@ -26,7 +26,7 @@ static void *get_ipc(ctl_table *table)
        return which;
 }
 
        return which;
 }
 
-#ifdef CONFIG_PROC_FS
+#ifdef CONFIG_PROC_SYSCTL
 static int proc_ipc_dointvec(ctl_table *table, int write, struct file *filp,
        void __user *buffer, size_t *lenp, loff_t *ppos)
 {
 static int proc_ipc_dointvec(ctl_table *table, int write, struct file *filp,
        void __user *buffer, size_t *lenp, loff_t *ppos)
 {