From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f179.google.com (mail-yk0-f179.google.com [209.85.160.179]) by kanga.kvack.org (Postfix) with ESMTP id DF00D800CA for ; Fri, 7 Nov 2014 02:05:17 -0500 (EST) Received: by mail-yk0-f179.google.com with SMTP id 131so2023014ykp.38 for ; Thu, 06 Nov 2014 23:05:17 -0800 (PST) Received: from tyo201.gate.nec.co.jp (TYO201.gate.nec.co.jp. [210.143.35.51]) by mx.google.com with ESMTPS id c26si8430409yhc.40.2014.11.06.23.05.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 06 Nov 2014 23:05:16 -0800 (PST) From: Naoya Horiguchi Subject: [PATCH -mm v7 07/13] numa_maps: fix typo in gather_hugetbl_stats Date: Fri, 7 Nov 2014 07:01:59 +0000 Message-ID: <1415343692-6314-8-git-send-email-n-horiguchi@ah.jp.nec.com> References: <1415343692-6314-1-git-send-email-n-horiguchi@ah.jp.nec.com> In-Reply-To: <1415343692-6314-1-git-send-email-n-horiguchi@ah.jp.nec.com> Content-Language: ja-JP Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Dave Hansen , Hugh Dickins , "Kirill A. Shutemov" , Peter Feiner , Jerome Marchand , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Naoya Horiguchi Just doing s/gather_hugetbl_stats/gather_hugetlb_stats/g, this makes code grep-friendly. Signed-off-by: Naoya Horiguchi Acked-by: Kirill A. Shutemov --- 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, } =20 #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) =20 md->vma =3D vma; =20 - walk.hugetlb_entry =3D gather_hugetbl_stats; + walk.hugetlb_entry =3D gather_hugetlb_stats; walk.pmd_entry =3D gather_pte_stats; walk.private =3D md; walk.mm =3D mm; --=20 2.2.0.rc0.2.gf745acb -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org