patch-2.3.43 linux/fs/proc/proc_misc.c
Next file: linux/fs/proc/procfs_syms.c
Previous file: linux/fs/proc/omirr.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Wed Feb 9 18:48:03 2000
- Orig file:
v2.3.42/linux/fs/proc/proc_misc.c
- Orig date:
Tue Nov 23 22:42:21 1999
diff -u --recursive --new-file v2.3.42/linux/fs/proc/proc_misc.c linux/fs/proc/proc_misc.c
@@ -29,6 +29,7 @@
#include <linux/smp.h>
#include <linux/signal.h>
#include <linux/module.h>
+#include <linux/init.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
@@ -592,9 +593,8 @@
}
static struct file_operations proc_profile_operations = {
- NULL, /* lseek */
- read_profile,
- write_profile,
+ read: read_profile,
+ write: write_profile,
};
static struct inode_operations proc_profile_inode_operations = {
@@ -617,7 +617,7 @@
0, &proc_profile_inode_operations
};
-void proc_misc_init(void)
+void __init proc_misc_init(void)
{
static struct {
char *name;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)