lkml.org 
[lkml]   [2014]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH -mm v7 07/13] numa_maps: fix typo in gather_hugetbl_stats
    Date
    Just doing s/gather_hugetbl_stats/gather_hugetlb_stats/g, this makes code
    grep-friendly.

    Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
    Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    ---
    fs/proc/task_mmu.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    diff --git mmotm-2014-11-05-16-01.orig/fs/proc/task_mmu.c mmotm-2014-11-05-16-01/fs/proc/task_mmu.c
    index f997734d2b4b..bddae83fbf39 100644
    --- mmotm-2014-11-05-16-01.orig/fs/proc/task_mmu.c
    +++ mmotm-2014-11-05-16-01/fs/proc/task_mmu.c
    @@ -1392,7 +1392,7 @@ static int gather_pte_stats(pmd_t *pmd, unsigned long addr,
    return 0;
    }
    #ifdef CONFIG_HUGETLB_PAGE
    -static int gather_hugetbl_stats(pte_t *pte, unsigned long hmask,
    +static int gather_hugetlb_stats(pte_t *pte, unsigned long hmask,
    unsigned long addr, unsigned long end, struct mm_walk *walk)
    {
    struct numa_maps *md;
    @@ -1411,7 +1411,7 @@ static int gather_hugetbl_stats(pte_t *pte, unsigned long hmask,
    }

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

    md->vma = vma;

    - walk.hugetlb_entry = gather_hugetbl_stats;
    + walk.hugetlb_entry = gather_hugetlb_stats;
    walk.pmd_entry = gather_pte_stats;
    walk.private = md;
    walk.mm = mm;
    --
    2.2.0.rc0.2.gf745acb

    \
     
     \ /
      Last update: 2014-11-07 09:21    [W:5.976 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site