diff options
Diffstat (limited to 'arch/avr32/mm/init.c')
-rw-r--r-- | arch/avr32/mm/init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/avr32/mm/init.c b/arch/avr32/mm/init.c index b079e04f6954..af6890fd7319 100644 --- a/arch/avr32/mm/init.c +++ b/arch/avr32/mm/init.c | |||
@@ -117,8 +117,6 @@ void __init mem_init(void) | |||
117 | if (pgdat->node_spanned_pages != 0) | 117 | if (pgdat->node_spanned_pages != 0) |
118 | node_pages = free_all_bootmem_node(pgdat); | 118 | node_pages = free_all_bootmem_node(pgdat); |
119 | 119 | ||
120 | totalram_pages += node_pages; | ||
121 | |||
122 | for (i = 0; i < node_pages; i++) | 120 | for (i = 0; i < node_pages; i++) |
123 | if (PageReserved(pgdat->node_mem_map + i)) | 121 | if (PageReserved(pgdat->node_mem_map + i)) |
124 | reservedpages++; | 122 | reservedpages++; |