projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slub: use sysfs'es release mechanism for kmem_cache
[deliverable/linux.git]
/
include
/
linux
/
slub_def.h
diff --git
a/include/linux/slub_def.h
b/include/linux/slub_def.h
index f2f7398848cfed2b348222aae7573ad2c2a76ba8..d82abd40a3c061745e94385b1c43e498004a60e8 100644
(file)
--- 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];
};
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 */
#endif /* _LINUX_SLUB_DEF_H */
This page took
0.048999 seconds
and
5
git commands to generate.