From: Andrew Morton Date: Wed, 24 Aug 2011 23:47:18 +0000 (+1000) Subject: Cc: Andrea Arcangeli X-Git-Tag: next-20110905~1^2~56 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=94d58bdd3bfbc3a890056be9732899b91d5d80d0;p=karo-tx-linux.git Cc: Andrea Arcangeli Cc: Hugh Dickins Cc: Johannes Weiner Cc: Mel Gorman Cc: Rik van Riel Signed-off-by: Andrew Morton --- diff --git a/mm/huge_memory.c b/mm/huge_memory.c index b975dc1db24f..fffab174f3e7 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -1072,7 +1072,7 @@ int move_huge_pmd(struct vm_area_struct *vma, struct vm_area_struct *new_vma, * The destination pmd shouldn't be established, free_pgtables() * should have release it. */ - if (!WARN_ON(pmd_none(*new_pmd))) { + if (WARN_ON(!pmd_none(*new_pmd))) { VM_BUG_ON(pmd_trans_huge(*new_pmd)); goto out; }