aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/util.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-12-07 21:23:36 -0800
committerPaul E. McKenney <paulmck@kernel.org>2021-03-08 14:18:46 -0800
commit0d3dd2c8eadb7d4404b8788f552fb2b824fe2c7e (patch)
tree8eb424bfe56fd93463302870c8443e9cdc7de7ed /mm/util.c
parentmm: Don't build mm_dump_obj() on CONFIG_PRINTK=n kernels (diff)
downloadwireguard-linux-0d3dd2c8eadb7d4404b8788f552fb2b824fe2c7e.tar.xz
wireguard-linux-0d3dd2c8eadb7d4404b8788f552fb2b824fe2c7e.zip
rcutorture: Add crude tests for mem_dump_obj()
This commit adds a few crude tests for mem_dump_obj() to rcutorture runs. Just to prevent bitrot, you understand! Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'mm/util.c')
-rw-r--r--mm/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/util.c b/mm/util.c
index 2d497fe0f17d..c37e24d5fa43 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -1014,4 +1014,5 @@ void mem_dump_obj(void *object)
}
pr_cont(" non-slab/vmalloc memory.\n");
}
+EXPORT_SYMBOL_GPL(mem_dump_obj);
#endif