X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=mm%2Fnobootmem.c;h=bd82f6b314114dc937bea707a70072b299860a08;hb=6ade6e0d643bcaf973b096c4beed1dbdff52bf86;hp=714d5d6504708c83c64365618749a84b1da4cd66;hpb=0588f1f934791b79d0a1e9b327be9b6eb361d2b8;p=deliverable%2Flinux.git diff --git a/mm/nobootmem.c b/mm/nobootmem.c index 714d5d650470..bd82f6b31411 100644 --- a/mm/nobootmem.c +++ b/mm/nobootmem.c @@ -116,8 +116,6 @@ static unsigned long __init __free_memory_core(phys_addr_t start, return 0; __free_pages_memory(start_pfn, end_pfn); - fixup_zone_present_pages(pfn_to_nid(start >> PAGE_SHIFT), - start_pfn, end_pfn); return end_pfn - start_pfn; } @@ -128,7 +126,6 @@ unsigned long __init free_low_memory_core_early(int nodeid) phys_addr_t start, end, size; u64 i; - reset_zone_present_pages(); for_each_free_mem_range(i, MAX_NUMNODES, &start, &end, NULL) count += __free_memory_core(start, end);