1 #ifndef __LINUX_SLAB_WRAPPER_H
2 #define __LINUX_SLAB_WRAPPER_H 1
4 #include_next <linux/slab.h>
7 extern void *kmemdup(const void *src, size_t len, gfp_t gfp);
10 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23)
11 #define kmem_cache_create(n, s, a, f, c) kmem_cache_create(n, s, a, f, c, NULL)