From: Kirill A. Shutemov Date: Wed, 9 Sep 2015 22:39:35 +0000 (-0700) Subject: mm: use vma_is_anonymous() in create_huge_pmd() and wp_huge_pmd() X-Git-Tag: omap-for-v4.3/fixes-rc1~36^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb6dd5fa4165c4b82f1a11416c2fc192ae3a84e2;p=pandora-kernel.git mm: use vma_is_anonymous() in create_huge_pmd() and wp_huge_pmd() Let's use helper rather than direct check of vma->vm_ops to distinguish anonymous VMA. Signed-off-by: Kirill A. Shutemov Reviewed-by: Oleg Nesterov Cc: "H. Peter Anvin" Cc: Andy Lutomirski Cc: Dave Hansen Cc: Ingo Molnar Cc: Minchan Kim Cc: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed