patch-2.3.43 linux/fs/proc/procfs_syms.c

Next file: linux/fs/proc/root.c
Previous file: linux/fs/proc/proc_misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/fs/proc/procfs_syms.c linux/fs/proc/procfs_syms.c
@@ -2,6 +2,7 @@
 #include <linux/module.h>
 #include <linux/fs.h>
 #include <linux/proc_fs.h>
+#include <linux/init.h>
 
 extern struct proc_dir_entry *proc_sys_root;
 
@@ -26,7 +27,7 @@
 	NULL
 };
 
-int init_proc_fs(void)
+int __init init_proc_fs(void)
 {
 	return register_filesystem(&proc_fs_type) == 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)