X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fmincore.c;h=936b4cee8cb1ee126e7c78672d54062437ba5c45;hb=d6e066a9d33b2a09590153505fc9abd8fe9ba624;hp=636a86876ff217a7f6d18f29c18524c2f2645a63;hpb=2d9f8a6e73ef2ec8ecaa24ca98e7010d6edd089f;p=pandora-kernel.git diff --git a/mm/mincore.c b/mm/mincore.c index 636a86876ff2..936b4cee8cb1 100644 --- a/mm/mincore.c +++ b/mm/mincore.c @@ -164,7 +164,7 @@ static void mincore_pmd_range(struct vm_area_struct *vma, pud_t *pud, } /* fall through */ } - if (pmd_none_or_clear_bad(pmd)) + if (pmd_none_or_trans_huge_or_clear_bad(pmd)) mincore_unmapped_range(vma, addr, next, vec); else mincore_pte_range(vma, pmd, addr, next, vec);