ANDROID: mm: Export get_slabinfo

Export get_slabinfo symbol for loadable vendor
modules.

Bug: 176277895
Change-Id: I01870a370da9bf5db842ff14801d94ef79350560
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
This commit is contained in:
Vijayanand Jitta
2020-12-29 16:07:29 +05:30
committed by Todd Kjos
parent 75d4170323
commit df2e575fcc
2 changed files with 2 additions and 0 deletions

View File

@@ -4041,6 +4041,7 @@ void get_slabinfo(struct kmem_cache *cachep, struct slabinfo *sinfo)
sinfo->objects_per_slab = cachep->num;
sinfo->cache_order = cachep->gfporder;
}
EXPORT_SYMBOL_GPL(get_slabinfo);
void slabinfo_show_stats(struct seq_file *m, struct kmem_cache *cachep)
{

View File

@@ -5756,6 +5756,7 @@ void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo)
sinfo->objects_per_slab = oo_objects(s->oo);
sinfo->cache_order = oo_order(s->oo);
}
EXPORT_SYMBOL_GPL(get_slabinfo);
void slabinfo_show_stats(struct seq_file *m, struct kmem_cache *s)
{