]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/debug.c
drm/amdgpu: add a bool to specify if needing vm flush V2
[karo-tx-linux.git] / mm / debug.c
index df7247b0b5326a6a9251d89bce3b2ffb0e90a34b..8865bfb41b0b6e514a8f297c335a8682763bad6a 100644 (file)
@@ -43,7 +43,7 @@ const struct trace_print_flags vmaflag_names[] = {
 void __dump_page(struct page *page, const char *reason)
 {
        pr_emerg("page:%p count:%d mapcount:%d mapping:%p index:%#lx",
-                 page, atomic_read(&page->_count), page_mapcount(page),
+                 page, page_ref_count(page), page_mapcount(page),
                  page->mapping, page->index);
        if (PageCompound(page))
                pr_cont(" compound_mapcount: %d", compound_mapcount(page));