aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/task_mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/task_mmu.c')
-rw-r--r--fs/proc/task_mmu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 4206706dd92a..ae4bc2960077 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -1385,7 +1385,7 @@ static int gather_pte_stats(pmd_t *pmd, unsigned long addr,
1385 return 0; 1385 return 0;
1386} 1386}
1387#ifdef CONFIG_HUGETLB_PAGE 1387#ifdef CONFIG_HUGETLB_PAGE
1388static int gather_hugetbl_stats(pte_t *pte, unsigned long hmask, 1388static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask,
1389 unsigned long addr, unsigned long end, struct mm_walk *walk) 1389 unsigned long addr, unsigned long end, struct mm_walk *walk)
1390{ 1390{
1391 struct numa_maps *md; 1391 struct numa_maps *md;
@@ -1404,7 +1404,7 @@ static int gather_hugetbl_stats(pte_t *pte, unsigned long hmask,
1404} 1404}
1405 1405
1406#else 1406#else
1407static int gather_hugetbl_stats(pte_t *pte, unsigned long hmask, 1407static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask,
1408 unsigned long addr, unsigned long end, struct mm_walk *walk) 1408 unsigned long addr, unsigned long end, struct mm_walk *walk)
1409{ 1409{
1410 return 0; 1410 return 0;
@@ -1435,7 +1435,7 @@ static int show_numa_map(struct seq_file *m, void *v, int is_pid)
1435 1435
1436 md->vma = vma; 1436 md->vma = vma;
1437 1437
1438 walk.hugetlb_entry = gather_hugetbl_stats; 1438 walk.hugetlb_entry = gather_hugetlb_stats;
1439 walk.pmd_entry = gather_pte_stats; 1439 walk.pmd_entry = gather_pte_stats;
1440 walk.private = md; 1440 walk.private = md;
1441 walk.mm = mm; 1441 walk.mm = mm;