mm: concentrate modification of totalram_pages into the mm core
[sfrench/cifs-2.6.git] / arch / cris / mm / init.c
index 8fec26392ae71f00381e209d5f58bc7ae2a8e234..52b8b56ae305519d0937c1f1e50fd549efc43140 100644 (file)
@@ -33,7 +33,7 @@ mem_init(void)
        max_mapnr = num_physpages = max_low_pfn - min_low_pfn;
  
        /* this will put all memory onto the freelists */
-        totalram_pages = free_all_bootmem();
+        free_all_bootmem();
 
        reservedpages = 0;
        for (tmp = 0; tmp < max_mapnr; tmp++) {