]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Cc: Andrea Arcangeli <aarcange@redhat.com>
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 24 Aug 2011 23:47:18 +0000 (09:47 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Sep 2011 07:02:24 +0000 (17:02 +1000)
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <jweiner@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c

index b975dc1db24f814c6749644e22b3d8a139df5f34..fffab174f3e76bb7def297ef5649882aedbcf958 100644 (file)
@@ -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;
        }