[PATCH] mm: rename kmem_cache_s to kmem_cache
This patch renames struct kmem_cache_s to kmem_cache so we can start using it instead of kmem_cache_t typedef. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
4f12bb4f77
commit
2109a2d1b1
7 changed files with 12 additions and 12 deletions
|
|
@ -59,9 +59,9 @@ extern void FASTCALL(set_close_on_exec(unsigned int fd, int flag));
|
|||
extern void put_filp(struct file *);
|
||||
extern int get_unused_fd(void);
|
||||
extern void FASTCALL(put_unused_fd(unsigned int fd));
|
||||
struct kmem_cache_s;
|
||||
extern void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cflags);
|
||||
extern void filp_dtor(void * objp, struct kmem_cache_s *cachep, unsigned long dflags);
|
||||
struct kmem_cache;
|
||||
extern void filp_ctor(void * objp, struct kmem_cache *cachep, unsigned long cflags);
|
||||
extern void filp_dtor(void * objp, struct kmem_cache *cachep, unsigned long dflags);
|
||||
|
||||
extern struct file ** alloc_fd_array(int);
|
||||
extern void free_fd_array(struct file **, int);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#if defined(__KERNEL__)
|
||||
|
||||
typedef struct kmem_cache_s kmem_cache_t;
|
||||
typedef struct kmem_cache kmem_cache_t;
|
||||
|
||||
#include <linux/config.h> /* kmalloc_sizes.h needs CONFIG_ options */
|
||||
#include <linux/gfp.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue