[PATCH] mm4: add-do_proc_doulonglongvec_minmax-to-sysctl-functions

From: Magnus Damm
Date: Wed Nov 10 2004 - 09:20:19 EST


Heya,

This patch makes the code compile with CONFIG_SYSCTL unset.

/ magnus

diff -urN linux-2.6.10-rc1-mm4/kernel/sysctl.c linux-2.6.10-rc1-mm4-no_sysctl/kernel/sysctl.c
--- linux-2.6.10-rc1-mm4/kernel/sysctl.c 2004-11-09 19:38:16.000000000 +0100
+++ linux-2.6.10-rc1-mm4-no_sysctl/kernel/sysctl.c 2004-11-10 14:28:34.181959944 +0100
@@ -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,