]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/slub_def.h
SL*B: drop kmem cache argument from constructor
[net-next-2.6.git] / include / linux / slub_def.h
index d117ea2825a9187b44e37a12602b5538ec175839..5bad61a93f65566cc59716ebe4cae2e0d5f88f14 100644 (file)
@@ -85,7 +85,7 @@ struct kmem_cache {
        struct kmem_cache_order_objects min;
        gfp_t allocflags;       /* gfp flags to use on each alloc */
        int refcount;           /* Refcount for slab cache destroy */
-       void (*ctor)(struct kmem_cache *, void *);
+       void (*ctor)(void *);
        int inuse;              /* Offset to metadata */
        int align;              /* Alignment */
        const char *name;       /* Name (only for display!) */