diff options
author | Wanpeng Li <liwanp@linux.vnet.ibm.com> | 2013-07-04 02:33:23 +0200 |
---|---|---|
committer | Pekka Enberg <penberg@kernel.org> | 2013-07-07 17:37:47 +0200 |
commit | e25839f67948ca54fa55a45686d72c266f65f099 (patch) | |
tree | 485ed28182d02b2a86d3308f0da932e796b57b00 /mm/slab.h | |
parent | mm/slab: Fix drain freelist excessively (diff) | |
download | linux-e25839f67948ca54fa55a45686d72c266f65f099.tar.xz linux-e25839f67948ca54fa55a45686d72c266f65f099.zip |
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 <cl@linux.com>
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'mm/slab.h')
-rw-r--r-- | mm/slab.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/slab.h b/mm/slab.h index f96b49e4704e..95c88604aab7 100644 --- a/mm/slab.h +++ b/mm/slab.h @@ -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); |