Merge tag 'soc-fixes-6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[platform/kernel/linux-starfive.git] / mm / debug.c
index 0fd15ba..7f8e5f7 100644 (file)
@@ -94,9 +94,10 @@ static void __dump_page(struct page *page)
                        page, page_ref_count(head), mapcount, mapping,
                        page_to_pgoff(page), page_to_pfn(page));
        if (compound) {
-               pr_warn("head:%p order:%u compound_mapcount:%d compound_pincount:%d\n",
+               pr_warn("head:%p order:%u compound_mapcount:%d subpages_mapcount:%d compound_pincount:%d\n",
                                head, compound_order(head),
-                               folio_entire_mapcount(folio),
+                               head_compound_mapcount(head),
+                               head_subpages_mapcount(head),
                                head_compound_pincount(head));
        }