mm: thp: kill transparent_hugepage_active()
[platform/kernel/linux-starfive.git] / fs / proc / task_mmu.c
index 1d7fd83..072cf77 100644 (file)
@@ -863,7 +863,7 @@ static int show_smap(struct seq_file *m, void *v)
        __show_smap(m, &mss, false);
 
        seq_printf(m, "THPeligible:    %d\n",
-                  transparent_hugepage_active(vma));
+                  hugepage_vma_check(vma, vma->vm_flags, true));
 
        if (arch_pkeys_enabled())
                seq_printf(m, "ProtectionKey:  %8u\n", vma_pkey(vma));