]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
cma-count-free-cma-pages-fix
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 21 Sep 2012 00:57:47 +0000 (10:57 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 21 Sep 2012 05:58:53 +0000 (15:58 +1000)
use conventional migratetype naming

Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_isolation.c

index bce97c93451f363aa55fb6023519911a15f6f57c..345643b85bd412de0b0c827a722ab0007583c8d4 100644 (file)
@@ -77,12 +77,12 @@ int set_migratetype_isolate(struct page *page)
 out:
        if (!ret) {
                unsigned long nr_pages;
-               int mt = get_pageblock_migratetype(page);
+               int migratetype = get_pageblock_migratetype(page);
 
                set_pageblock_isolate(page);
                nr_pages = move_freepages_block(zone, page, MIGRATE_ISOLATE);
 
-               __mod_zone_freepage_state(zone, -nr_pages, mt);
+               __mod_zone_freepage_state(zone, -nr_pages, migratetype);
        }
 
        spin_unlock_irqrestore(&zone->lock, flags);