summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hexagon/mm/init.c')
-rw-r--r--arch/hexagon/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/hexagon/mm/init.c b/arch/hexagon/mm/init.c
index 2561d259a29..0ab5b4350e9 100644
--- a/arch/hexagon/mm/init.c
+++ b/arch/hexagon/mm/init.c
@@ -70,7 +70,7 @@ unsigned long long kmap_generation;
void __init mem_init(void)
{
/* No idea where this is actually declared. Seems to evade LXR. */
- totalram_pages += free_all_bootmem();
+ free_all_bootmem();
num_physpages = bootmem_lastpg-ARCH_PFN_OFFSET;
printk(KERN_INFO "totalram_pages = %ld\n", totalram_pages);