lkml.org 
[lkml]   [1997]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectmissing functions in sysctl.c
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;
\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.024 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site