missing functions in sysctl.c

Heiko Eissfeldt (heiko@colossus.escape.de)
Sat, 5 Jul 1997 15:06:47 +0200 (MEST)


Hi,

I found some function definitions missing in kernel/sysctl.c
for function proc_dointvec_jiffies() when compiling 2.1.43.

My config has
CONFIG_PROC_FS=y
and
# CONFIG_SYSCTL is not set

Heiko

Here is the patch:
--- kernel/sysctl.c.or Sat Jun 21 18:14:26 1997
+++ kernel/sysctl.c Sat Jul 5 13:49:37 1997
@@ -840,6 +840,12 @@
return -ENOSYS;
}

+int proc_dointvec_jiffies(ctl_table *table, int write, struct file *filp,
+ void *buffer, size_t *lenp)
+{
+ return -ENOSYS;
+}
+
#endif /* CONFIG_PROC_FS */


@@ -1035,6 +1041,12 @@
}

int proc_dointvec_minmax(ctl_table *table, int write, struct file *filp,
+ void *buffer, size_t *lenp)
+{
+ return -ENOSYS;
+}
+
+int proc_dointvec_jiffies(ctl_table *table, int write, struct file *filp,
void *buffer, size_t *lenp)
{
return -ENOSYS;