summaryrefslogtreecommitdiffstats
path: root/arch/cris/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/mm/init.c')
-rw-r--r--arch/cris/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c
index 8fec26392ae..52b8b56ae30 100644
--- a/arch/cris/mm/init.c
+++ b/arch/cris/mm/init.c
@@ -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++) {