patch-2.1.111 linux/fs/proc/root.c

Next file: linux/include/asm-alpha/page.h
Previous file: linux/fs/proc/proc_tty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.110/linux/fs/proc/root.c linux/fs/proc/root.c
@@ -13,6 +13,7 @@
 #include <linux/proc_fs.h>
 #include <linux/stat.h>
 #include <linux/config.h>
+#include <linux/init.h>
 #include <asm/bitops.h>
 #ifdef CONFIG_KMOD
 #include <linux/kmod.h>
@@ -632,7 +633,7 @@
 };
 #endif
 
-void proc_root_init(void)
+__initfunc(void proc_root_init(void))
 {
 	proc_base_init();
 	proc_register(&proc_root, &proc_root_loadavg);

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