]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-compaction-embed-migration-mode-in-compact_control-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2014 00:43:12 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:12 +0000 (10:43 +1000)
fix build

mm/page_alloc.c: In function 'alloc_contig_range':
mm/page_alloc.c:6255: error: unknown field 'sync' specified in initializer

Cc: David Rientjes <rientjes@google.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c

index eb9457092a9b552e591912477834caf1c2df46fa..8cac6912bba3c86c1b61d1dad42428df3c4b339d 100644 (file)
@@ -6252,7 +6252,7 @@ int alloc_contig_range(unsigned long start, unsigned long end,
                .nr_migratepages = 0,
                .order = -1,
                .zone = page_zone(pfn_to_page(start)),
-               .sync = MIGRATE_SYNC_LIGHT,
+               .mode = MIGRATE_SYNC_LIGHT,
                .ignore_skip_hint = true,
        };
        INIT_LIST_HEAD(&cc.migratepages);