ANDROID: mm: Export vmalloc_nr_pages
Export vmalloc_nr_pages which is used as part
of meminfo collection from minidump module.
Bug: 177031593
Change-Id: I4c80fe2a0712658ec46b49064fda670da84b3732
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 279dc0c..4d49bb2 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -489,6 +489,7 @@ unsigned long vmalloc_nr_pages(void)
{
return atomic_long_read(&nr_vmalloc_pages);
}
+EXPORT_SYMBOL_GPL(vmalloc_nr_pages);
static struct vmap_area *__find_vmap_area(unsigned long addr)
{