mm/slab: Sharing s_next and s_stop between slab and slub

This patch shares s_next and s_stop between slab and slub.

Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Wanpeng Li <[email protected]>
Signed-off-by: Pekka Enberg <[email protected]>
This commit is contained in:
Wanpeng Li 2013-07-04 08:33:23 +08:00 • committed by Pekka Enberg
commit e25839f679
3 changed files with 5 additions and 12 deletions

View file

@ -271,3 +271,6 @@ struct kmem_cache_node {
#endif
};
void *s_next(struct seq_file *m, void *p, loff_t *pos);
void s_stop(struct seq_file *m, void *p);