summaryrefslogtreecommitdiffstats
path: root/mm/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/debug.c')
-rw-r--r--mm/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/debug.c b/mm/debug.c
index df7247b0b532..8865bfb41b0b 100644
--- a/mm/debug.c
+++ b/mm/debug.c
@@ -43,7 +43,7 @@ const struct trace_print_flags vmaflag_names[] = {
43void __dump_page(struct page *page, const char *reason) 43void __dump_page(struct page *page, const char *reason)
44{ 44{
45 pr_emerg("page:%p count:%d mapcount:%d mapping:%p index:%#lx", 45 pr_emerg("page:%p count:%d mapcount:%d mapping:%p index:%#lx",
46 page, atomic_read(&page->_count), page_mapcount(page), 46 page, page_ref_count(page), page_mapcount(page),
47 page->mapping, page->index); 47 page->mapping, page->index);
48 if (PageCompound(page)) 48 if (PageCompound(page))
49 pr_cont(" compound_mapcount: %d", compound_mapcount(page)); 49 pr_cont(" compound_mapcount: %d", compound_mapcount(page));