summaryrefslogtreecommitdiffstats
path: root/arch/score/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/score/mm/init.c')
-rw-r--r--arch/score/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/score/mm/init.c b/arch/score/mm/init.c
index f5dd61eb4544..a8b917742dec 100644
--- a/arch/score/mm/init.c
+++ b/arch/score/mm/init.c
@@ -79,7 +79,7 @@ void __init mem_init(void)
unsigned long tmp, ram = 0;
high_memory = (void *) __va(max_low_pfn << PAGE_SHIFT);
- totalram_pages += free_all_bootmem();
+ free_all_bootmem();
setup_zero_page(); /* Setup zeroed pages. */
reservedpages = 0;