Skip to contentSkip to conversation

mm4: add-do_proc_doulonglongvec_minmax-to-sysctl-functions

PATCH New Magnus Damm 1 participant 1 message Nov 10, 2004 Proc sysctl

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm4: add-do_proc_doulonglongvec_minmax-to-sysctl-functions

Heya,

This patch makes the code compile with CONFIG_SYSCTL unset.

/ magnus

kernel/sysctl.c +6 -0
diff -urN linux-2.6.10-rc1-mm4/kernel/sysctl.c linux-2.6.10-rc1-mm4-no_sysctl/kernel/sysctl.c
@@ -2313,6 +2313,12 @@
 	return -ENOSYS;
 }
 
+int proc_doulonglongvec_minmax(ctl_table *table, int write, struct file *filp,
+			   void __user *buffer, size_t *lenp, loff_t *ppos)
+{
+	return -ENOSYS;
+}
+
 int proc_doulongvec_ms_jiffies_minmax(ctl_table *table, int write,
 				      struct file *filp,
 				      void __user *buffer,