aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/mempolicy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index 5643cfed6b0f..1a210088ad80 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -1793,7 +1793,8 @@ int show_numa_map(struct seq_file *m, void *v)
1793 if (!md) 1793 if (!md)
1794 return 0; 1794 return 0;
1795 1795
1796 check_pgd_range(vma, vma->vm_start, vma->vm_end, 1796 if (!is_vm_hugetlb_page(vma))
1797 check_pgd_range(vma, vma->vm_start, vma->vm_end,
1797 &node_online_map, MPOL_MF_STATS, md); 1798 &node_online_map, MPOL_MF_STATS, md);
1798 1799
1799 if (md->pages) { 1800 if (md->pages) {