diff options
Diffstat (limited to 'mm/util.c')
-rw-r--r-- | mm/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm/util.c b/mm/util.c index 54870226cea6..c37e24d5fa43 100644 --- a/mm/util.c +++ b/mm/util.c @@ -983,6 +983,7 @@ int __weak memcmp_pages(struct page *page1, struct page *page2) return ret; } +#ifdef CONFIG_PRINTK /** * mem_dump_obj - Print available provenance information * @object: object for which to find provenance information. @@ -1013,3 +1014,5 @@ void mem_dump_obj(void *object) } pr_cont(" non-slab/vmalloc memory.\n"); } +EXPORT_SYMBOL_GPL(mem_dump_obj); +#endif |