Skip to content

Commit 632fd60

Browse files
Naoya Horiguchitorvalds
authored andcommitted
numa_maps: fix typo in gather_hugetbl_stats
Just doing s/gather_hugetbl_stats/gather_hugetlb_stats/g, this makes code grep-friendly. Signed-off-by: Naoya Horiguchi <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Cyrill Gorcunov <[email protected]> Cc: Dave Hansen <[email protected]> Cc: Pavel Emelyanov <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent f995ece commit 632fd60

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/proc/task_mmu.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ static int gather_pte_stats(pmd_t *pmd, unsigned long addr,
13851385
return 0;
13861386
}
13871387
#ifdef CONFIG_HUGETLB_PAGE
1388-
static int gather_hugetbl_stats(pte_t *pte, unsigned long hmask,
1388+
static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask,
13891389
unsigned long addr, unsigned long end, struct mm_walk *walk)
13901390
{
13911391
struct numa_maps *md;
@@ -1404,7 +1404,7 @@ static int gather_hugetbl_stats(pte_t *pte, unsigned long hmask,
14041404
}
14051405

14061406
#else
1407-
static int gather_hugetbl_stats(pte_t *pte, unsigned long hmask,
1407+
static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask,
14081408
unsigned long addr, unsigned long end, struct mm_walk *walk)
14091409
{
14101410
return 0;
@@ -1435,7 +1435,7 @@ static int show_numa_map(struct seq_file *m, void *v, int is_pid)
14351435

14361436
md->vma = vma;
14371437

1438-
walk.hugetlb_entry = gather_hugetbl_stats;
1438+
walk.hugetlb_entry = gather_hugetlb_stats;
14391439
walk.pmd_entry = gather_pte_stats;
14401440
walk.private = md;
14411441
walk.mm = mm;

0 commit comments

Comments
 (0)