]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
cma-count-free-cma-pages-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 26 Sep 2012 01:33:44 +0000 (11:33 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:26:36 +0000 (17:26 +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);