X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fslub_def.h;h=d82abd40a3c061745e94385b1c43e498004a60e8;hb=41a212859a4dd583d3aa032cdd3efa564c4f189f;hp=f2f7398848cfed2b348222aae7573ad2c2a76ba8;hpb=623762517e2370be3b3f95f4fe08d6c063a49b06;p=deliverable%2Flinux.git diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index f2f7398848cf..d82abd40a3c0 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h @@ -101,4 +101,13 @@ struct kmem_cache { struct kmem_cache_node *node[MAX_NUMNODES]; }; +#ifdef CONFIG_SYSFS +#define SLAB_SUPPORTS_SYSFS +void sysfs_slab_remove(struct kmem_cache *); +#else +static inline void sysfs_slab_remove(struct kmem_cache *s) +{ +} +#endif + #endif /* _LINUX_SLUB_DEF_H */