]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-remove-duplicated-call-of-get_pfn_range_for_nid-v2-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 27 Jun 2013 23:52:25 +0000 (09:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:05 +0000 (16:38 +1000)
make definitions more readable

Cc: Michal Hocko <mhocko@suse.cz>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c

index c7e2bea5e3decd44f736d1a345598fffcd276b0f..7d5e40fe0c29dec17230e235e502101472c0feec 100644 (file)
@@ -4793,7 +4793,8 @@ void __paginginit free_area_init_node(int nid, unsigned long *zones_size,
                unsigned long node_start_pfn, unsigned long *zholes_size)
 {
        pg_data_t *pgdat = NODE_DATA(nid);
-       unsigned long start_pfn = 0, end_pfn = 0;
+       unsigned long start_pfn = 0;
+       unsigned long end_pfn = 0;
 
        /* pg_data_t should be reset to zero when it's allocated */
        WARN_ON(pgdat->nr_zones || pgdat->classzone_idx);