patch-2.1.37 linux/kernel/sysctl.c

Next file: linux/mm/filemap.c
Previous file: linux/kernel/sys.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/kernel/sysctl.c linux/kernel/sysctl.c
@@ -24,6 +24,7 @@
 #include <linux/swapctl.h>
 #include <linux/smp.h>
 #include <linux/smp_lock.h>
+#include <linux/init.h>
 
 #include <asm/bitops.h>
 #include <asm/uaccess.h>
@@ -210,7 +211,7 @@
 };  
 
 
-void sysctl_init(void)
+__initfunc(void sysctl_init(void))
 {
 #ifdef CONFIG_PROC_FS
 	register_proc_table(root_table, &proc_sys_root);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov