diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-05 22:42:17 (GMT) |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-23 11:20:06 (GMT) |
commit | 7b3c3a50a3e0ea46815150d420fa276ac254572b (patch) | |
tree | a49118d99ae5bac99b660d8a44c20df2b15a7037 /include | |
parent | a0ec95a8e69792e4ad642daac037c9b01ea3e2cd (diff) | |
download | linux-7b3c3a50a3e0ea46815150d420fa276ac254572b.tar.xz |
proc: move /proc/slabinfo boilerplate to mm/slub.c, mm/slab.c
Lose dummy ->write hook in case of SLUB, it's possible now.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/slab.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h index 5ff9676..ba965c8 100644 --- a/include/linux/slab.h +++ b/include/linux/slab.h @@ -288,9 +288,4 @@ static inline void *kzalloc_node(size_t size, gfp_t flags, int node) return kmalloc_node(size, flags | __GFP_ZERO, node); } -#ifdef CONFIG_SLABINFO -extern const struct seq_operations slabinfo_op; -ssize_t slabinfo_write(struct file *, const char __user *, size_t, loff_t *); -#endif - #endif /* _LINUX_SLAB_H */ |