diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-09-19 19:15:08 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-09-19 19:15:08 +0000 |
commit | 03ba4131783cc9e872f8bb26a03f15bc11f27564 (patch) | |
tree | 88db8dba75ae06ba3bad08e42c5e52efc162535c /fs/file_table.c | |
parent | 257730f99381dd26e10b832fce4c94cae7ac1176 (diff) |
- Merge with Linux 2.1.121.
- Bugfixes.
Diffstat (limited to 'fs/file_table.c')
-rw-r--r-- | fs/file_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/file_table.c b/fs/file_table.c index 3b5f05f81..6a4b1df43 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -12,6 +12,7 @@ #include <linux/string.h> #include <linux/mm.h> #include <linux/slab.h> +#include <linux/init.h> /* SLAB cache for filp's. */ static kmem_cache_t *filp_cache; @@ -44,8 +45,7 @@ static inline void put_inuse(struct file *file) file->f_pprev = &inuse_filps; } -/* N.B. This should be an __initfunc ... */ -void file_table_init(void) +void __init file_table_init(void) { filp_cache = kmem_cache_create("filp", sizeof(struct file), 0, |