From: Naoya Horiguchi Date: Wed, 11 Feb 2015 23:28:00 +0000 (-0800) Subject: arch/powerpc/mm/subpage-prot.c: use walk->vma and walk_page_vma() X-Git-Tag: fixes-v4.0-rc1~131^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1757bbd9c5918a9c1a8757141763a23f2e446caa;p=pandora-kernel.git arch/powerpc/mm/subpage-prot.c: use walk->vma and walk_page_vma() We don't have to use mm_walk->private to pass vma to the callback function because of mm_walk->vma. And walk_page_vma() is useful if we walk over a single vma. Signed-off-by: Naoya Horiguchi Acked-by: Kirill A. Shutemov Cc: "Kirill A. Shutemov" Cc: Andrea Arcangeli Cc: Cyrill Gorcunov Cc: Dave Hansen Cc: Pavel Emelyanov Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed