From a5ec68c5e43c75a1b17eb0c9d1121d1ea90971e7 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 28 Jun 2013 09:52:25 +1000 Subject: [PATCH] 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 --- mm/page_alloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.5