diff options
author | Pekka Enberg <penberg@kernel.org> | 2011-03-20 12:12:03 -0400 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2011-03-20 12:12:03 -0400 |
commit | c53badd0801728feedfcccae04239410b52b0d03 (patch) | |
tree | 016421ec2a618767f01df8cfbf765a4dab3b3629 /include | |
parent | 521cb40b0c44418a4fd36dc633f575813d59a43d (diff) | |
parent | 865d794d1f144d0f93796840d01696cd70647a8a (diff) |
Merge branch 'slab/next' into for-linus
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/slab.h | 1 | ||||
-rw-r--r-- | include/linux/slub_def.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h index fa9086647eb7..ad4dd1c8d30a 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h | |||
@@ -105,7 +105,6 @@ void kmem_cache_destroy(struct kmem_cache *); | |||
105 | int kmem_cache_shrink(struct kmem_cache *); | 105 | int kmem_cache_shrink(struct kmem_cache *); |
106 | void kmem_cache_free(struct kmem_cache *, void *); | 106 | void kmem_cache_free(struct kmem_cache *, void *); |
107 | unsigned int kmem_cache_size(struct kmem_cache *); | 107 | unsigned int kmem_cache_size(struct kmem_cache *); |
108 | const char *kmem_cache_name(struct kmem_cache *); | ||
109 | 108 | ||
110 | /* | 109 | /* |
111 | * Please use this macro to create slab caches. Simply specify the | 110 | * Please use this macro to create slab caches. Simply specify the |
diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index 8b6e8ae5d5ca..ae0093cc5189 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h | |||
@@ -83,6 +83,7 @@ struct kmem_cache { | |||
83 | void (*ctor)(void *); | 83 | void (*ctor)(void *); |
84 | int inuse; /* Offset to metadata */ | 84 | int inuse; /* Offset to metadata */ |
85 | int align; /* Alignment */ | 85 | int align; /* Alignment */ |
86 | int reserved; /* Reserved bytes at the end of slabs */ | ||
86 | unsigned long min_partial; | 87 | unsigned long min_partial; |
87 | const char *name; /* Name (only for display!) */ | 88 | const char *name; /* Name (only for display!) */ |
88 | struct list_head list; /* List of slab caches */ | 89 | struct list_head list; /* List of slab caches */ |