mm: concentrate modification of totalram_pages into the mm core
[linux-2.6-block.git] / arch / x86 / mm / init_64.c
index ec312a92b13798109af09c68b78fb5a376bf7217..9577638f3ead4714d6afc4143474f1661c06cd70 100644 (file)
@@ -1054,7 +1054,7 @@ void __init mem_init(void)
        register_page_bootmem_info();
 
        /* this will put all memory onto the freelists */
-       totalram_pages = free_all_bootmem();
+       free_all_bootmem();
 
        absent_pages = absent_pages_in_range(0, max_pfn);
        reservedpages = max_pfn - totalram_pages - absent_pages;