From: Andrew Morton Date: Thu, 27 Jun 2013 23:52:25 +0000 (+1000) Subject: mm-remove-duplicated-call-of-get_pfn_range_for_nid-v2-fix X-Git-Tag: next-20130628~3^2~384 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a5ec68c5e43c75a1b17eb0c9d1121d1ea90971e7;p=karo-tx-linux.git mm-remove-duplicated-call-of-get_pfn_range_for_nid-v2-fix make definitions more readable Cc: Michal Hocko Cc: Wu Fengguang Cc: Zhang Yanfei Signed-off-by: Andrew Morton --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index c7e2bea5e3de..7d5e40fe0c29 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -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);