lkml.org 
[lkml]   [2000]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.2.18pre22
On Sun, 19 Nov 2000, Alan Cox wrote:
[..]
> 2.2.18pre20
[..]
> o Fix ipv6 procfs bug (Al Viro)

Seems in this place was introduced small bug.
Linking kernel with disabled CONFIG_SYSCTL fails with:

kernel/kernel.o(__ksymtab+0x5f8): undefined reference to `sysctl_jiffies'

Patch with fix included.

kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@rudy.mif.pg.gda.pl*
--- linux/kernel/sysctl.c.org Tue Nov 21 08:01:25 2000
+++ linux/kernel/sysctl.c Tue Nov 21 08:00:33 2000
@@ -1173,6 +1173,13 @@
return -ENOSYS;
}

+int sysctl_jiffies(ctl_table *table, int *name, int nlen,
+ void *oldval, size_t *oldlenp,
+ void *newval, size_t newlen, void **context)
+{
+ return -ENOSYS;
+}
+
int proc_dostring(ctl_table *table, int write, struct file *filp,
void *buffer, size_t *lenp)
{
\
 
 \ /
  Last update: 2005-03-22 12:47    [W:0.311 / U:0.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site