]> err.no Git - linux-2.6/blobdiff - include/linux/slub_def.h
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / include / linux / slub_def.h
index f74716b59ce233fc44a9816d567e32fe1bba495d..40801e754afb48430e3af7c59497b5726e298250 100644 (file)
@@ -16,6 +16,7 @@ struct kmem_cache_cpu {
        struct page *page;
        int node;
        unsigned int offset;
+       unsigned int objsize;
 };
 
 struct kmem_cache_node {
@@ -48,7 +49,7 @@ struct kmem_cache {
        /* Allocation and freeing of slabs */
        int objects;            /* Number of objects in slab */
        int refcount;           /* Refcount for slab cache destroy */
-       void (*ctor)(void *, struct kmem_cache *, unsigned long);
+       void (*ctor)(struct kmem_cache *, void *);
        int inuse;              /* Offset to metadata */
        int align;              /* Alignment */
        const char *name;       /* Name (only for display!) */