summaryrefslogtreecommitdiff
path: root/arch/alpha/mm/numa.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/mm/numa.c')
-rw-r--r--arch/alpha/mm/numa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/mm/numa.c b/arch/alpha/mm/numa.c
index 33885048fa36..857452c13c4d 100644
--- a/arch/alpha/mm/numa.c
+++ b/arch/alpha/mm/numa.c
@@ -334,7 +334,7 @@ void __init mem_init(void)
/*
* This will free up the bootmem, ie, slot 0 memory
*/
- totalram_pages += free_all_bootmem_node(NODE_DATA(nid));
+ free_all_bootmem_node(NODE_DATA(nid));
pfn = NODE_DATA(nid)->node_start_pfn;
for (i = 0; i < node_spanned_pages(nid); i++, pfn++)